[Mageia-sysadm] [798] let the repository be exported by git-daemon

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


Revision: 798
Author:   misc
Date:     2011-01-14 03:40:30 +0100 (Fri, 14 Jan 2011)
Log Message:
-----------
let the repository be exported by git-daemon

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:28 UTC (rev 797)
+++ puppet/modules/git/manifests/init.pp	2011-01-14 02:40:30 UTC (rev 798)
@@ -32,6 +32,10 @@
             creates => $name,
         }
 
+        file { "$name/git-daemon-export-ok":
+            ensure => present,
+            requires => Exec["git init --bare $name"]
+        }
     }
 
     class client inherits common {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110114/740bff51/attachment-0001.html>


More information about the Mageia-sysadm mailing list