[Mageia-sysadm] [797] start the repository type ( create it )

root at mageia.org root at mageia.org
Fri Jan 14 03:40:29 CET 2011


Revision: 797
Author:   misc
Date:     2011-01-14 03:40:28 +0100 (Fri, 14 Jan 2011)
Log Message:
-----------
start the repository type ( create it )

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

Modified: puppet/modules/git/manifests/init.pp
===================================================================
--- puppet/modules/git/manifests/init.pp	2011-01-14 02:40:27 UTC (rev 796)
+++ puppet/modules/git/manifests/init.pp	2011-01-14 02:40:28 UTC (rev 797)
@@ -28,7 +28,9 @@
     }
 
     define repository {
-        # TODO
+        exec { "git init --bare $name":
+            creates => $name,
+        }
 
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110114/bdc48f21/attachment-0001.html>


More information about the Mageia-sysadm mailing list