summaryrefslogtreecommitdiff
path: root/manifests/register.pp
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2011-08-04 10:48:57 +0200
committerMarcel Haerry <haerry@puzzle.ch>2011-08-04 10:48:57 +0200
commit9b0b698523987b7631478bcf7dc84acf5e0e719c (patch)
tree8d333ebe58802de2bda0e6ccfe94093bebf1b938 /manifests/register.pp
parent447041b01494690975d078776a85f4a3fd4e64fa (diff)
move from concatenated_file to concat
Diffstat (limited to 'manifests/register.pp')
-rw-r--r--manifests/register.pp5
1 files changed, 2 insertions, 3 deletions
diff --git a/manifests/register.pp b/manifests/register.pp
index 21f1d35..78d13d3 100644
--- a/manifests/register.pp
+++ b/manifests/register.pp
@@ -25,9 +25,8 @@ define munin::register (
default => $host
}
- @@file { "munin_client_${fhost}_${munin_port_real}":
- ensure => present,
- path => "/var/lib/puppet/modules/munin/nodes/${fhost}_${munin_port_real}",
+ @@concat::fragment{ "munin_client_${fhost}_${munin_port_real}":
+ target => '/etc/munin/munin.conf',
content => template("munin/client.erb"),
tag => 'munin',
}