summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/001952.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/001952.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-January/001952.html138
1 files changed, 138 insertions, 0 deletions
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 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [765] add bcd module
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B765%5D%20add%20bcd%20module&In-Reply-To=%3C20110112164209.3D0E942209%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="001944.html">
+ <LINK REL="Next" HREF="001955.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [765] add bcd module</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B765%5D%20add%20bcd%20module&In-Reply-To=%3C20110112164209.3D0E942209%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [765] add bcd module">root at mageia.org
+ </A><BR>
+ <I>Wed Jan 12 17:42:09 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="001944.html">[Mageia-sysadm] Puppet Report for krampouezh.mageia.org
+</A></li>
+ <LI>Next message: <A HREF="001955.html">[Mageia-sysadm] [765] add bcd module
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1952">[ date ]</a>
+ <a href="thread.html#1952">[ thread ]</a>
+ <a href="subject.html#1952">[ subject ]</a>
+ <a href="author.html#1952">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>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 =&gt; $bcd_home,
++ comment =&gt; &quot;User for creating ISOs&quot;,
++ }
++
++ package { bcd:
++ ensure =&gt; 'installed',
++ }
++
++ file { &quot;/etc/sudoers.d/bcd&quot;:
++ owner =&gt; root,
++ group =&gt; root,
++ mode =&gt; 440,
++ content =&gt; template(&quot;bcd/sudoers.bcd&quot;)
++ }
++ }
++
++ define ssh_access($type, $key) {
++ ssh_authorized_key{$name:
++ type =&gt; $type,
++ key =&gt; $key,
++ user =&gt; $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 @@
++&lt;%= bcd_login %&gt; 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: &lt;/pipermail/mageia-sysadm/attachments/20110112/446ad491/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="001944.html">[Mageia-sysadm] Puppet Report for krampouezh.mageia.org
+</A></li>
+ <LI>Next message: <A HREF="001955.html">[Mageia-sysadm] [765] add bcd module
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1952">[ date ]</a>
+ <a href="thread.html#1952">[ thread ]</a>
+ <a href="subject.html#1952">[ subject ]</a>
+ <a href="author.html#1952">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>