summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000571.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000571.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000571.html124
1 files changed, 124 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000571.html b/zarb-ml/mageia-sysadm/2010-November/000571.html
new file mode 100644
index 000000000..58e123622
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000571.html
@@ -0,0 +1,124 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [266] - better use heritance
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B266%5D%20-%20better%20use%20heritance&In-Reply-To=%3C20101117154523.1CA353FC09%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="000570.html">
+ <LINK REL="Next" HREF="000572.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [266] - better use heritance</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B266%5D%20-%20better%20use%20heritance&In-Reply-To=%3C20101117154523.1CA353FC09%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [266] - better use heritance">root at mageia.org
+ </A><BR>
+ <I>Wed Nov 17 16:45:23 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000570.html">[Mageia-sysadm] [265] - add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )
+</A></li>
+ <LI>Next message: <A HREF="000572.html">[Mageia-sysadm] [267] - fix templates
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#571">[ date ]</a>
+ <a href="thread.html#571">[ thread ]</a>
+ <a href="subject.html#571">[ subject ]</a>
+ <a href="author.html#571">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 266
+Author: misc
+Date: 2010-11-17 16:45:22 +0100 (Wed, 17 Nov 2010)
+Log Message:
+-----------
+- better use heritance
+
+Modified Paths:
+--------------
+ puppet/modules/pam/manifests/init.pp
+
+Modified: puppet/modules/pam/manifests/init.pp
+===================================================================
+--- puppet/modules/pam/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265)
++++ puppet/modules/pam/manifests/init.pp 2010-11-17 15:45:22 UTC (rev 266)
+@@ -1,26 +1,28 @@
+ class pam {
+
+- package { [&quot;pam_ldap&quot;,&quot;nss_ldap&quot;, &quot;pam_mkhomedir&quot;]:
+- ensure =&gt; installed,
+- }
++ class base {
++ package { [&quot;pam_ldap&quot;,&quot;nss_ldap&quot;, &quot;pam_mkhomedir&quot;]:
++ ensure =&gt; installed,
++ }
+
+-
+- file { &quot;system-auth&quot;:
+- path =&gt; &quot;/etc/pam.d/system-auth&quot;,
+- owner =&gt; root,
+- group =&gt; root,
+- mode =&gt; 644,
+- content =&gt; template(&quot;openldap/system-auth&quot;)
+- }
++ file { &quot;system-auth&quot;:
++ path =&gt; &quot;/etc/pam.d/system-auth&quot;,
++ owner =&gt; root,
++ group =&gt; root,
++ mode =&gt; 644,
++ content =&gt; template(&quot;openldap/system-auth&quot;)
++ }
++ }
+
+ # for server where only admin can connect
+- class admin_access {
++ class admin_access inherits base {
+ $access_class = &quot;admin&quot;
++ # not sure if this line is needed anymore, wil check later
+ file { &quot;system-auth&quot;: }
+ }
+
+ # for server where people can connect with ssh ( git, svn )
+- class commiters_access {
++ class commiters_access inherits base {
+ $access_class = &quot;commiters&quot;
+ file { &quot;system-auth&quot;: }
+ }
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101117/59a666cc/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000570.html">[Mageia-sysadm] [265] - add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )
+</A></li>
+ <LI>Next message: <A HREF="000572.html">[Mageia-sysadm] [267] - fix templates
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#571">[ date ]</a>
+ <a href="thread.html#571">[ thread ]</a>
+ <a href="subject.html#571">[ subject ]</a>
+ <a href="author.html#571">[ 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>