diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/002301.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-January/002301.html | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/002301.html b/zarb-ml/mageia-sysadm/2011-January/002301.html new file mode 100644 index 000000000..eb9bd29d7 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002301.html @@ -0,0 +1,101 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [862] add secondary groups option + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B862%5D%20add%20secondary%20groups%20option&In-Reply-To=%3C20110120174808.0BD1142B83%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="002312.html"> + <LINK REL="Next" HREF="002303.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [862] add secondary groups option</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B862%5D%20add%20secondary%20groups%20option&In-Reply-To=%3C20110120174808.0BD1142B83%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [862] add secondary groups option">root at mageia.org + </A><BR> + <I>Thu Jan 20 18:48:08 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002312.html">[Mageia-sysadm] [861] add signbot user +</A></li> + <LI>Next message: <A HREF="002303.html">[Mageia-sysadm] Puppet Report for jonund.mageia.org +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2301">[ date ]</a> + <a href="thread.html#2301">[ thread ]</a> + <a href="subject.html#2301">[ subject ]</a> + <a href="author.html#2301">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 862 +Author: boklm +Date: 2011-01-20 18:48:07 +0100 (Thu, 20 Jan 2011) +Log Message: +----------- +add secondary groups option + +Modified Paths: +-------------- + puppet/modules/buildsystem/manifests/init.pp + +Modified: puppet/modules/buildsystem/manifests/init.pp +=================================================================== +--- puppet/modules/buildsystem/manifests/init.pp 2011-01-20 17:41:50 UTC (rev 861) ++++ puppet/modules/buildsystem/manifests/init.pp 2011-01-20 17:48:07 UTC (rev 862) +@@ -171,7 +171,8 @@ + } + } + +- define sshuser($homedir, $comment) { ++ # $groups: array of secondary groups (only local groups, no ldap) ++ define sshuser($homedir, $comment, $groups = []) { + group {"$title": + ensure => present, + } +@@ -181,6 +182,7 @@ + comment => $comment, + managehome => true, + gid => $title, ++ groups => $groups, + shell => "/bin/bash", + notify => Exec["unlock$title"], + require => Group[$title], +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20110120/5a9ad1e6/attachment.html> +</PRE> + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002312.html">[Mageia-sysadm] [861] add signbot user +</A></li> + <LI>Next message: <A HREF="002303.html">[Mageia-sysadm] Puppet Report for jonund.mageia.org +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2301">[ date ]</a> + <a href="thread.html#2301">[ thread ]</a> + <a href="subject.html#2301">[ subject ]</a> + <a href="author.html#2301">[ 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> |