]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/vsftpd/manifests/site.pp
add some munin magic
[dsa-puppet.git] / modules / vsftpd / manifests / site.pp
index 46c805edb7121b35bd2a23f2286dc1bea821da6c..f8a71a0fb52d9aa297949593bf0df5af0efb635a 100644 (file)
@@ -29,6 +29,13 @@ define vsftpd::site (
                ensure => absent
        }
 
+       munin::check { "vsftpd-${name}":
+               script => 'vsftpd'
+       }
+       munin::conf { "vsftpd-${name}":
+               content => template('vsftpd/munin.erb')
+       }
+
        # We don't need a firewall rule because it's added in vsftp.pp
        xinetd::service { "vsftpd-${name}":
                bind        => $bind,