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/2010-November/000571.html | 124 ++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000571.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000571.html') 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 @@ + + + + [Mageia-sysadm] [266] - better use heritance + + + + + + + + + +

[Mageia-sysadm] [266] - better use heritance

+ root at mageia.org + root at mageia.org +
+ Wed Nov 17 16:45:23 CET 2010 +

+
+ +
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 { ["pam_ldap","nss_ldap", "pam_mkhomedir"]:
+-    ensure => installed,  
+-  }
++  class base {
++      package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]:
++        ensure => installed,  
++      }
+ 
+-
+-  file { "system-auth":
+-     path => "/etc/pam.d/system-auth",
+-     owner => root,
+-     group => root,
+-     mode => 644,
+-     content => template("openldap/system-auth")
+-  }
++      file { "system-auth":
++         path => "/etc/pam.d/system-auth",
++         owner => root,
++         group => root,
++         mode => 644,
++         content => template("openldap/system-auth")
++      }
++  } 
+   
+   # for server where only admin can connect
+-  class admin_access {
++  class admin_access inherits base {
+     $access_class = "admin"
++    # not sure if this line is needed anymore, wil check later
+     file { "system-auth": }
+   }
+ 
+   # for server where people can connect with ssh ( git, svn )
+-  class commiters_access {
++  class commiters_access inherits base {
+     $access_class = "commiters"
+     file { "system-auth": }
+   }
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101117/59a666cc/attachment.html>
+
+ + + + + + + + + + + +
+

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