[Mageia-sysadm] [810] split subversion-tools in its own class, to prepare for svn mirror

root at mageia.org root at mageia.org
Sun Jan 16 14:15:35 CET 2011


Revision: 810
Author:   misc
Date:     2011-01-16 14:15:35 +0100 (Sun, 16 Jan 2011)
Log Message:
-----------
split subversion-tools in its own class, to prepare for svn mirror

Modified Paths:
--------------
    puppet/modules/subversion/manifests/init.pp

Modified: puppet/modules/subversion/manifests/init.pp
===================================================================
--- puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:33 UTC (rev 809)
+++ puppet/modules/subversion/manifests/init.pp	2011-01-16 13:15:35 UTC (rev 810)
@@ -3,9 +3,15 @@
 # but not integrated in puppet directly for the moment
 class subversion {
 
+    class tools {
+        package { "subversion-tools":
+            ensure => installed,
+        }
+    }
 
     class server {
-        package { ["subversion-server", "subversion-tools"]:
+        include subversion::tools
+        package { "subversion-server":
             ensure => installed,
         }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110116/eba8265e/attachment.html>


More information about the Mageia-sysadm mailing list