Displaying 1 result from an estimated 1 matches for "create_munin_includ".
Did you mean:
create_munin_includes
2007 Jan 14
0
file_splice Hack
...$munin_includes = "$splice_dir/munin_conf_includes"
file { $munin_includes: checksum => md5, }
# this directory collects munin-node definitions from the munin-nodes
$NODESDIR = "/var/local/puppet/munin-nodes"
# concatenate all definitions into one file
exec { create_munin_includes:
command => "/bin/sh -c ''/bin/cat $NODESDIR/* > $munin_includes''",
subscribe => File[$NODESDIR]
}
# include the file in the main config
file_splice { munin_conf_includes:
file => "/etc/munin/munin.conf",
input_fi...