aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/access_classes/manifests/init.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-22 15:18:21 +0000
committerMichael Scherer <misc@mageia.org>2012-03-22 15:18:21 +0000
commit040e85305d9d750c7e9d7792aa6abfa4317cbf44 (patch)
treec3335954b6e80a6270803523554e9185db107e06 /deployment/access_classes/manifests/init.pp
parent9440cbe275586919e2c10bbf904609938e34f537 (diff)
downloadpuppet-040e85305d9d750c7e9d7792aa6abfa4317cbf44.tar
puppet-040e85305d9d750c7e9d7792aa6abfa4317cbf44.tar.gz
puppet-040e85305d9d750c7e9d7792aa6abfa4317cbf44.tar.bz2
puppet-040e85305d9d750c7e9d7792aa6abfa4317cbf44.tar.xz
puppet-040e85305d9d750c7e9d7792aa6abfa4317cbf44.zip
split the module in several file
Diffstat (limited to 'deployment/access_classes/manifests/init.pp')
-rw-r--r--deployment/access_classes/manifests/init.pp42
1 files changed, 1 insertions, 41 deletions
diff --git a/deployment/access_classes/manifests/init.pp b/deployment/access_classes/manifests/init.pp
index 03d48898..a414f3e0 100644
--- a/deployment/access_classes/manifests/init.pp
+++ b/deployment/access_classes/manifests/init.pp
@@ -1,45 +1,5 @@
class access_classes {
-
# beware , theses classes are exclusives
# if you need multiple group access, you need to define you own class
- # of access
-
- # for server where only admins can connect
- class admin {
- pam::multiple_ldap_access { "admin":
- access_classes => ['mga-sysadmin']
- }
- }
-
- # for server where people can connect with ssh ( git, svn )
- class committers {
- # 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
-
- pam::multiple_ldap_access { "committers":
- access_classes => ['mga-shell_access'],
- restricted_shell => true,
- }
- }
-
- class iso_makers {
- pam::multiple_ldap_access { "iso_makers":
- access_classes => ['mga-iso_makers','mga-sysadmin']
- }
- }
-
- class web {
- pam::multiple_ldap_access { "web":
- access_classes => ['mga-web','mga-sysadmin']
- }
- }
-
- class web_and_artwork {
- pam::multiple_ldap_access { "web_artwork":
- access_classes => ['mga-web','mga-sysadmin','mga-artwork']
- }
- }
+ # of access
}