summaryrefslogtreecommitdiffstats
path: root/modules/munin/manifests/init.pp
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-12-28 04:20:36 -0500
committerJesse Luehrs <doy@tozt.net>2018-12-28 04:20:36 -0500
commit9d47ae264dd27de7415b203043ca4c3042689d65 (patch)
tree011701a3310bd35bf757e5b8b0b3160bb642b5db /modules/munin/manifests/init.pp
parent93db4d1022398616d958c29f192fc3fdade1bf76 (diff)
downloadpuppet-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.pp18
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'];
+ }
+}