Skip to content

Commit

Permalink
Switch from exported to virtualised resources to address corey-hammer…
Browse files Browse the repository at this point in the history
  • Loading branch information
skrussell committed Feb 25, 2021
1 parent fd7d488 commit a37a050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@

}

# Create modules.d files that exist in hiera then collect any created via exported resources
# Create modules.d files that exist in hiera as virtual resources, then collect all virtualised modules
$module_templates_real = hiera_array('metricbeat::module_templates', $metricbeat::module_templates)
$module_templates_real.each |$module| {
@@metricbeat::modulesd { $module: }
@metricbeat::modulesd { $module: }
}
Metricbeat::Modulesd <<||>>
Metricbeat::Modulesd <||>

case $::kernel {
'Linux': {
Expand Down

0 comments on commit a37a050

Please sign in to comment.