summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/client.pp2
-rw-r--r--manifests/host.pp2
2 files changed, 3 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 5b78186..0ad7856 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -56,6 +56,7 @@ define munin::register()
@@file { "${NODESDIR}/${name}_${munin_port_real}":
ensure => present,
content => template("munin/defaultclient.erb"),
+ tag => 'munin',
}
}
@@ -64,6 +65,7 @@ define munin::register_snmp()
@@file { "munin_snmp_${name}": path => "${NODESDIR}/${name}",
ensure => present,
content => template("munin/snmpclient.erb"),
+ tag => 'munin',
}
}
diff --git a/manifests/host.pp b/manifests/host.pp
index 83d1887..f539c9e 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -6,7 +6,7 @@ class munin::host
{
package { [ "munin", "nmap"]: ensure => installed, }
- File <<||>>
+ File <<| tag == 'munin' |>>
concatenated_file { "/etc/munin/munin.conf":
dir => $NODESDIR,