From 9b0b698523987b7631478bcf7dc84acf5e0e719c Mon Sep 17 00:00:00 2001 From: Marcel Haerry Date: Thu, 4 Aug 2011 10:48:57 +0200 Subject: move from concatenated_file to concat --- manifests/register/snmp.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'manifests/register') diff --git a/manifests/register/snmp.pp b/manifests/register/snmp.pp index 0c3ac5c..5a1f42d 100644 --- a/manifests/register/snmp.pp +++ b/manifests/register/snmp.pp @@ -13,9 +13,8 @@ define munin::register::snmp ( unless => "ls /etc/munin/plugins/snmp_${fhost}_* &> /dev/null", } - @@file { "munin_snmp_${fhost}": - ensure => present, - path => "/var/lib/puppet/modules/munin/nodes/${fhost}", + @@concat::fragment{ "munin_snmp_${fhost}": + target => '/etc/munin/munin.conf', content => template("munin/client.erb"), tag => 'munin', } -- cgit v1.2.3