diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-12-11 18:56:35 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-12-11 18:56:35 +0000 |
commit | 6764f193e4b954c549ee33f8498b63684ca49eb2 (patch) | |
tree | 9dde45a2cc3b351fbd974a3bc810c09ada7803cc /deployment/access_classes/manifests/web_and_artwork.pp | |
parent | 065281dae19f263173906fbd4d2b5f9a77854e1e (diff) | |
download | puppet-6764f193e4b954c549ee33f8498b63684ca49eb2.tar puppet-6764f193e4b954c549ee33f8498b63684ca49eb2.tar.gz puppet-6764f193e4b954c549ee33f8498b63684ca49eb2.tar.bz2 puppet-6764f193e4b954c549ee33f8498b63684ca49eb2.tar.xz puppet-6764f193e4b954c549ee33f8498b63684ca49eb2.zip |
Make pam::multiple_ldap_access a class instead of a define
pam::multiple_ldap_access can only be included once. If it is included
multiple time, the value of the variable $access_classes used in
templates/system-auth is random. As it can only be included once, it
should be a parameterized class and not a defined resource.
Diffstat (limited to 'deployment/access_classes/manifests/web_and_artwork.pp')
-rw-r--r-- | deployment/access_classes/manifests/web_and_artwork.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/access_classes/manifests/web_and_artwork.pp b/deployment/access_classes/manifests/web_and_artwork.pp index 9a85bd3d..b6ac6e5b 100644 --- a/deployment/access_classes/manifests/web_and_artwork.pp +++ b/deployment/access_classes/manifests/web_and_artwork.pp @@ -1,5 +1,5 @@ class access_classes::web_and_artwork { - pam::multiple_ldap_access { 'web_artwork': + class { pam::multiple_ldap_access: access_classes => ['mga-web','mga-sysadmin','mga-artwork'] } } |