[Mageia-sysadm] [450] s/commiters/committers/, to be in sync with the ldap group name and the dictionnary

root at mageia.org root at mageia.org
Wed Nov 24 03:08:32 CET 2010


Revision: 450
Author:   misc
Date:     2010-11-24 03:08:32 +0100 (Wed, 24 Nov 2010)
Log Message:
-----------
s/commiters/committers/, to be in sync with the ldap group name and the dictionnary

Modified Paths:
--------------
    puppet/manifests/nodes.pp
    puppet/modules/pam/manifests/init.pp
    puppet/modules/pam/templates/system-auth

Modified: puppet/manifests/nodes.pp
===================================================================
--- puppet/manifests/nodes.pp	2010-11-24 01:39:17 UTC (rev 449)
+++ puppet/manifests/nodes.pp	2010-11-24 02:08:32 UTC (rev 450)
@@ -22,7 +22,7 @@
     include ssh::auth::keymaster
     include buildsystem::mainnode
 
-    include pam::commiters_access
+    include pam::committers_access
     include restrictshell::allow_svn
 
     subversion::snapshot { "/etc/puppet":

Modified: puppet/modules/pam/manifests/init.pp
===================================================================
--- puppet/modules/pam/manifests/init.pp	2010-11-24 01:39:17 UTC (rev 449)
+++ puppet/modules/pam/manifests/init.pp	2010-11-24 02:08:32 UTC (rev 450)
@@ -50,13 +50,13 @@
   }
 
   # for server where people can connect with ssh ( git, svn )
-  class commiters_access inherits base {
+  class committers_access inherits base {
     # this is required, as we force the shell to be the restricted one
     # openssh will detect if the file do not exist and while refuse to log the
     # user, and erase the password ( see pam_auth.c in openssh code, seek badpw )
     # so the file must exist
     # permission to use svn, git, etc must be added separatly
     include restrictshell::shell
-    $access_class = "commiters"
+    $access_class = "committers"
   }
 }

Modified: puppet/modules/pam/templates/system-auth
===================================================================
--- puppet/modules/pam/templates/system-auth	2010-11-24 01:39:17 UTC (rev 449)
+++ puppet/modules/pam/templates/system-auth	2010-11-24 02:08:32 UTC (rev 450)
@@ -2,8 +2,8 @@
 <%- if access_class = 'admin' -%>
 auth    required     pam_succeed_if.so quiet user ingroup mga-sysadmin
 <%- end -%>
-<%- if access_class = 'commiters' -%>
-auth    required     pam_succeed_if.so quiet user ingroup mga-commiters
+<%- if access_class = 'committers' -%>
+auth    required     pam_succeed_if.so quiet user ingroup mga-committers
 <%- end -%>
 # this part is here if the module don't exist
 # basically, the idea is to copy the exact detail of sufficient,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101124/1488153c/attachment.html>


More information about the Mageia-sysadm mailing list