[Mageia-sysadm] [846] add mirrormageia class

root at mageia.org root at mageia.org
Tue Jan 18 19:34:00 CET 2011


Revision: 846
Author:   boklm
Date:     2011-01-18 19:34:00 +0100 (Tue, 18 Jan 2011)
Log Message:
-----------
add mirrormageia class

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

Modified: puppet/manifests/nodes.pp
===================================================================
--- puppet/manifests/nodes.pp	2011-01-18 18:25:58 UTC (rev 845)
+++ puppet/manifests/nodes.pp	2011-01-18 18:34:00 UTC (rev 846)
@@ -149,4 +149,5 @@
     include access_classes::iso_makers
     include openssh::ssh_keys_from_ldap
     include mirror::mirrorbootstrap
+    include mirror::mirrormageia
 }

Modified: puppet/modules/mirror/manifests/init.pp
===================================================================
--- puppet/modules/mirror/manifests/init.pp	2011-01-18 18:25:58 UTC (rev 845)
+++ puppet/modules/mirror/manifests/init.pp	2011-01-18 18:34:00 UTC (rev 846)
@@ -81,4 +81,11 @@
 	    localdir => '/distrib/bootstrap',
 	}
     }
+
+    class mirrormageia inherits base {
+    	mirrordir { "mageia":
+	    remoteurl => 'rsync://valstar.mageia.org/mageia',
+	    localdir => '/distrib/mageia',
+	}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110118/e3f0ae41/attachment-0001.html>


More information about the Mageia-sysadm mailing list