]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
get rid of way too many munin subclasses
authorStephen Gran <steve@lobefin.net>
Sun, 7 Mar 2010 11:57:04 +0000 (11:57 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 7 Mar 2010 11:57:04 +0000 (11:57 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/apache2/manifests/init.pp
modules/munin-node/manifests/apache.pp [deleted file]
modules/munin-node/manifests/bind.pp [deleted file]
modules/munin-node/manifests/init.pp
modules/munin-node/manifests/vsftpd.pp [deleted file]
modules/named/manifests/init.pp

index 519fa208e91e18566e2e2c36246fc576d682cffb..d75b970e3e64fb799b5af8c42533153c78968689 100644 (file)
@@ -1,5 +1,11 @@
 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;
diff --git a/modules/munin-node/manifests/apache.pp b/modules/munin-node/manifests/apache.pp
deleted file mode 100644 (file)
index 2293c51..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-class munin-node::apache inherits munin-node {
-        activate_munin_check {
-                "apache_accesses":;
-                "apache_processes":;
-                "apache_volume":;
-                "apache_servers":;
-                "ps_apache2": script => "ps_";
-        }
-}
-
diff --git a/modules/munin-node/manifests/bind.pp b/modules/munin-node/manifests/bind.pp
deleted file mode 100644 (file)
index 3a9d184..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-class munin-node::bind inherits munin-node {
-        activate_munin_check {
-                "bind":;
-        }
-}
-
index 06d47cedf8a9d8e79d91ac6bd59f9a1fbc95e07a..59fe205abfa59e1a1c11b0b82df4dd3a0e268114 100644 (file)
@@ -54,7 +54,13 @@ class munin-node {
 
     case $vsftpd {
         "true": {
-              include munin-node::vsftpd
+              package { 
+                      "logtail": ensure => installed;
+              }
+              activate_munin_check {
+                      "vsftpd":;
+                      "ps_vsftpd": script => "ps_";
+              }
         }
     }
 
diff --git a/modules/munin-node/manifests/vsftpd.pp b/modules/munin-node/manifests/vsftpd.pp
deleted file mode 100644 (file)
index 9af1e92..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-class munin-node::vsftpd inherits munin-node {
-        package { 
-                "logtail": ensure => installed;
-        }
-        activate_munin_check {
-                "vsftpd":;
-                "ps_vsftpd": script => "ps_";
-        }
-}
-
index 719c0e7b4b18bdc4401a1df397b15d6480135256..b5233758f7d6fd30a6f7927440d3241168cdbe09 100644 (file)
@@ -1,5 +1,7 @@
 class named {
-        include munin-node::bind
+        activate_munin_check {
+                "bind":;
+        }
 
         package {
                 bind9: ensure => installed;