diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/001952.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-January/001952.html | 138 |
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 => $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> +</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> |