diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-12-28 04:20:36 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-12-28 04:20:36 -0500 |
commit | 9d47ae264dd27de7415b203043ca4c3042689d65 (patch) | |
tree | 011701a3310bd35bf757e5b8b0b3160bb642b5db /modules/munin/manifests/init.pp | |
parent | 93db4d1022398616d958c29f192fc3fdade1bf76 (diff) | |
download | puppet-tozt-9d47ae264dd27de7415b203043ca4c3042689d65.tar.gz puppet-tozt-9d47ae264dd27de7415b203043ca4c3042689d65.zip |
start configuring munin
Diffstat (limited to 'modules/munin/manifests/init.pp')
-rw-r--r-- | modules/munin/manifests/init.pp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/munin/manifests/init.pp b/modules/munin/manifests/init.pp new file mode 100644 index 0000000..26672d3 --- /dev/null +++ b/modules/munin/manifests/init.pp @@ -0,0 +1,18 @@ +class munin { + include munin::conf + + package { 'munin': + before => Class['munin::conf']; + } + + file { + '/srv/http/munin': + ensure => directory, + owner => 'munin', + group => 'munin', + require => Package['munin']; + '/etc/munin/munin-conf.d/master': + source => 'puppet:///modules/munin/master.conf', + require => Package['munin']; + } +} |