From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002135.html | 112 +++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002135.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002135.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002135.html b/zarb-ml/mageia-sysadm/2011-January/002135.html new file mode 100644 index 000000000..a98a971ac --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002135.html @@ -0,0 +1,112 @@ + + + + [Mageia-sysadm] [806] use newly commited script to create shared git repository + + + + + + + + + +

[Mageia-sysadm] [806] use newly commited script to create shared git repository

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

+
+ +
Revision: 806
+Author:   misc
+Date:     2011-01-16 14:15:29 +0100 (Sun, 16 Jan 2011)
+Log Message:
+-----------
+use newly commited script to create shared git repository
+
+Modified Paths:
+--------------
+    puppet/modules/git/manifests/init.pp
+
+Modified: puppet/modules/git/manifests/init.pp
+===================================================================
+--- puppet/modules/git/manifests/init.pp	2011-01-16 13:15:28 UTC (rev 805)
++++ puppet/modules/git/manifests/init.pp	2011-01-16 13:15:29 UTC (rev 806)
+@@ -43,16 +43,21 @@
+         # 
+     }
+ 
+-    define repository($description = '') {
++    define repository($description = '',
++                      $group ) {
++
++        include git::server
+         # http://eagleas.livejournal.com/18907.html
+-        # TODO --shared=group + set g+ws 
+-        exec { "git init --bare $name":
++        # TODO group permission should be handled here too
++        exec { "/usr/local/bin/create_git_repo.sh $name":
++            user => root,
++            group => $group
+             creates => $name,
+         }
+ 
+         file { "$name/git-daemon-export-ok":
+             ensure => present,
+-            requires => Exec["git init --bare $name"]
++            requires => Exec["/usr/local/bin/create_git_repo.sh $name"]
+         }
+         
+         file { "$name/description":
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110116/cd8f3497/attachment.html>
+
+ + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1