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/002049.html | 128 +++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002049.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002049.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002049.html b/zarb-ml/mageia-sysadm/2011-January/002049.html new file mode 100644 index 000000000..6d664ee63 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002049.html @@ -0,0 +1,128 @@ + + + + [Mageia-sysadm] [776] fix bcd problem of variable missing + + + + + + + + + +

[Mageia-sysadm] [776] fix bcd problem of variable missing

+ root at mageia.org + root at mageia.org +
+ Thu Jan 13 19:12:27 CET 2011 +

+
+ +
Revision: 776
+Author:   misc
+Date:     2011-01-13 19:12:27 +0100 (Thu, 13 Jan 2011)
+Log Message:
+-----------
+fix bcd problem of variable missing
+
+Modified Paths:
+--------------
+    puppet/modules/bcd/manifests/init.pp
+
+Modified: puppet/modules/bcd/manifests/init.pp
+===================================================================
+--- puppet/modules/bcd/manifests/init.pp	2011-01-13 18:12:25 UTC (rev 775)
++++ puppet/modules/bcd/manifests/init.pp	2011-01-13 18:12:27 UTC (rev 776)
+@@ -1,10 +1,13 @@
+ class bcd {
+-    $bcd_login = 'bcd'
+-    $bcd_home = '/home/bcd'
++    class variable {
+ 
+-    class base {
+-	include sudo
++        $bcd_login = 'bcd'
++        $bcd_home = '/home/bcd'
++    }
+ 
++    class base inherits variable {
++        include sudo
++
+         buildsystem::sshuser { $bcd_login:
+ 	    homedir => $bcd_home,
+  	    comment => "User for creating ISOs",
+@@ -23,10 +26,11 @@
+     }
+ 
+     define ssh_access($type, $key) {
+-	ssh_authorized_key{$name:
+-		type => $type,
+-		key => $key,
+-		user => $bcd_login,
+-	}
++        include bcd::variable
++        ssh_authorized_key{$name:
++            type => $type,
++            key => $key,
++            user => $bcd_login,
++        }
+     }
+ }
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110113/05cd68e9/attachment-0001.html>
+
+ + + + + + + + + + + + + + + + + + + + + + +
+

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