[Mageia-sysadm] [350] move task-bs-cluster-main dep in buildsystem::mainnode

root at mageia.org root at mageia.org
Sun Nov 21 18:42:09 CET 2010


Revision: 350
Author:   blino
Date:     2010-11-21 18:42:09 +0100 (Sun, 21 Nov 2010)
Log Message:
-----------
move task-bs-cluster-main dep in buildsystem::mainnode

Modified Paths:
--------------
    puppet/manifests/nodes.pp
    puppet/modules/buildsystem/manifests/init.pp

Modified: puppet/manifests/nodes.pp
===================================================================
--- puppet/manifests/nodes.pp	2010-11-21 17:34:53 UTC (rev 349)
+++ puppet/manifests/nodes.pp	2010-11-21 17:42:09 UTC (rev 350)
@@ -18,13 +18,11 @@
     include subversion::client
     include subversion::server
     include puppet::master
+    include buildsystem::mainnode
 
     subversion::snapshot { "/etc/puppet":
         source => "svn://svn.mageia.org/adm/puppet/"
     }
-    package {"task-bs-cluster-main":
-        ensure => "installed"
-    }
 }
 
 # web apps

Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp	2010-11-21 17:34:53 UTC (rev 349)
+++ puppet/modules/buildsystem/manifests/init.pp	2010-11-21 17:42:09 UTC (rev 350)
@@ -1,5 +1,11 @@
 class buildsystem {
 
+    class mainnode {
+        package { "task-bs-cluster-main":
+            ensure => "installed"
+        }
+    }
+
     class buildnode {
         include iurt
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101121/0a357cd2/attachment.html>


More information about the Mageia-sysadm mailing list