Signed-off-by: Stephen Gran <steve@lobefin.net>
class apache2 {
- include munin-node::apache
+ activate_munin_check {
+ "apache_accesses":;
+ "apache_processes":;
+ "apache_volume":;
+ "apache_servers":;
+ "ps_apache2": script => "ps_";
+ }
package {
"apache2": ensure => installed;
+++ /dev/null
-class munin-node::apache inherits munin-node {
- activate_munin_check {
- "apache_accesses":;
- "apache_processes":;
- "apache_volume":;
- "apache_servers":;
- "ps_apache2": script => "ps_";
- }
-}
-
+++ /dev/null
-class munin-node::bind inherits munin-node {
- activate_munin_check {
- "bind":;
- }
-}
-
case $vsftpd {
"true": {
- include munin-node::vsftpd
+ package {
+ "logtail": ensure => installed;
+ }
+ activate_munin_check {
+ "vsftpd":;
+ "ps_vsftpd": script => "ps_";
+ }
}
}
+++ /dev/null
-class munin-node::vsftpd inherits munin-node {
- package {
- "logtail": ensure => installed;
- }
- activate_munin_check {
- "vsftpd":;
- "ps_vsftpd": script => "ps_";
- }
-}
-
class named {
- include munin-node::bind
+ activate_munin_check {
+ "bind":;
+ }
package {
bind9: ensure => installed;