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/002079.html | 112 +++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002079.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002079.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002079.html b/zarb-ml/mageia-sysadm/2011-January/002079.html new file mode 100644 index 000000000..1b191fa41 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002079.html @@ -0,0 +1,112 @@ + + + + [Mageia-sysadm] [799] allow to update the description of the repository + + + + + + + + + +

[Mageia-sysadm] [799] allow to update the description of the repository

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

+
+ +
Revision: 799
+Author:   misc
+Date:     2011-01-14 03:40:31 +0100 (Fri, 14 Jan 2011)
+Log Message:
+-----------
+allow to update the description of the repository
+
+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:30 UTC (rev 798)
++++ puppet/modules/git/manifests/init.pp	2011-01-14 02:40:31 UTC (rev 799)
+@@ -27,7 +27,7 @@
+         # how do we handle commit permission ?
+     }
+ 
+-    define repository {
++    define repository($description = '') {
+         exec { "git init --bare $name":
+             creates => $name,
+         }
+@@ -36,6 +36,11 @@
+             ensure => present,
+             requires => Exec["git init --bare $name"]
+         }
++        
++        file { "$name/description":
++            ensure => present,
++            content => $description
++        }
+     }
+ 
+     class client inherits common {
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110114/f17b9c8b/attachment.html>
+
+ + + + + + + + + + + + + + + + + + + + +
+

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