From ec4823b29d7792c9ca96d6e1a76bb43a111dfaac Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 24 Nov 2010 02:08:32 +0000 Subject: s/commiters/committers/, to be in sync with the ldap group name and the dictionnary --- modules/pam/manifests/init.pp | 4 ++-- modules/pam/templates/system-auth | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/pam') diff --git a/modules/pam/manifests/init.pp b/modules/pam/manifests/init.pp index c3d5f7fc..63e8b12f 100644 --- a/modules/pam/manifests/init.pp +++ b/modules/pam/manifests/init.pp @@ -50,13 +50,13 @@ class pam { } # 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" } } diff --git a/modules/pam/templates/system-auth b/modules/pam/templates/system-auth index 9ae45fb7..7dc3a47f 100644 --- a/modules/pam/templates/system-auth +++ b/modules/pam/templates/system-auth @@ -2,8 +2,8 @@ auth required pam_env.so <%- 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, -- cgit v1.2.1