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/001952.html | 138 +++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/001952.html (limited to 'zarb-ml/mageia-sysadm/2011-January/001952.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/001952.html b/zarb-ml/mageia-sysadm/2011-January/001952.html new file mode 100644 index 000000000..354b6021a --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/001952.html @@ -0,0 +1,138 @@ + + + + [Mageia-sysadm] [765] add bcd module + + + + + + + + + +

[Mageia-sysadm] [765] add bcd module

+ root at mageia.org + root at mageia.org +
+ Wed Jan 12 17:42:09 CET 2011 +

+
+ +
Revision: 765
+Author:   boklm
+Date:     2011-01-12 17:42:08 +0100 (Wed, 12 Jan 2011)
+Log Message:
+-----------
+add bcd module
+
+Added Paths:
+-----------
+    puppet/modules/bcd/
+    puppet/modules/bcd/manifests/
+    puppet/modules/bcd/manifests/ini.pp
+    puppet/modules/bcd/templates/
+    puppet/modules/bcd/templates/sudoers.bcd
+
+Added: puppet/modules/bcd/manifests/ini.pp
+===================================================================
+--- puppet/modules/bcd/manifests/ini.pp	                        (rev 0)
++++ puppet/modules/bcd/manifests/ini.pp	2011-01-12 16:42:08 UTC (rev 765)
+@@ -0,0 +1,32 @@
++class bcd {
++    $bcd_login = 'bcd'
++    $bcd_home = '/home/bcd'
++
++    class base {
++	include sudo
++
++        buildsystem::sshuser { $bcd_login:
++	    homedir => $bcd_home,
++ 	    comment => "User for creating ISOs",
++	}
++
++	package { bcd:
++	    ensure => 'installed',
++	}
++
++       file { "/etc/sudoers.d/bcd":
++            owner => root,
++            group => root,
++            mode => 440,
++            content => template("bcd/sudoers.bcd")
++        }
++    }
++
++    define ssh_access($type, $key) {
++	ssh_authorized_key{$name:
++		type => $type,
++		key => $key,
++		user => $bcd_login,
++	}
++    }
++}
+
+Added: puppet/modules/bcd/templates/sudoers.bcd
+===================================================================
+--- puppet/modules/bcd/templates/sudoers.bcd	                        (rev 0)
++++ puppet/modules/bcd/templates/sudoers.bcd	2011-01-12 16:42:08 UTC (rev 765)
+@@ -0,0 +1,6 @@
++<%= bcd_login %> ALL=(root) NOPASSWD:/bin/mount, /bin/umount, \
++/usr/sbin/chroot, \
++/usr/sbin/urpmi, \
++/usr/sbin/urpmi.addmedia, \
++/usr/sbin/urpmi.removemedia, \
++/bin/rm
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110112/446ad491/attachment.html>
+
+ + + + + + + + + + + + + + + + + + +
+

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