From 212e5735114dd37826537e43271348f48bb94e30 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Jan 2008 16:24:55 +0100 Subject: tagging --- manifests/client.pp | 2 ++ manifests/host.pp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'manifests') 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, -- cgit v1.2.3