diff options
-rw-r--r-- | manifests/host.pp | 2 | ||||
-rw-r--r-- | manifests/init.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index d790b4a..8a90cc2 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -9,7 +9,7 @@ class munin::host File <<||>> concatenated_file { "/etc/munin/munin.conf": - dir => "/var/lib/puppet/modules/munin/nodes/", + dir => $NODESDIR, header => "/etc/munin/munin.conf.header", } diff --git a/manifests/init.pp b/manifests/init.pp index 613a18f..966cdcb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -7,7 +7,7 @@ # Define where the individual nodes' configs are stored $NODESDIR="/var/lib/puppet/modules/munin/nodes" -modules_dir { [ "munin", "munin/plugins" ]: } +modules_dir { [ "munin", "munin/nodes", "munin/plugins" ]: } import "host.pp" import "client.pp" |