diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-17 15:50:32 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-17 15:50:32 +0000 |
commit | d0b22dcb390873be41d24bafb728a4f21810cad7 (patch) | |
tree | 6ff672bbde0a05155c0d41cb3426970b5c89f055 /modules/pam | |
parent | 8b552f1fec441b0591d3a61fb4e296b6eb90ceb3 (diff) | |
download | puppet-d0b22dcb390873be41d24bafb728a4f21810cad7.tar puppet-d0b22dcb390873be41d24bafb728a4f21810cad7.tar.gz puppet-d0b22dcb390873be41d24bafb728a4f21810cad7.tar.bz2 puppet-d0b22dcb390873be41d24bafb728a4f21810cad7.tar.xz puppet-d0b22dcb390873be41d24bafb728a4f21810cad7.zip |
- fix templates
- add nsswitch.conf
Diffstat (limited to 'modules/pam')
-rw-r--r-- | modules/pam/manifests/init.pp | 10 | ||||
-rw-r--r-- | modules/pam/templates/nsswitch.conf | 16 |
2 files changed, 25 insertions, 1 deletions
diff --git a/modules/pam/manifests/init.pp b/modules/pam/manifests/init.pp index 07f2214a..0accd63a 100644 --- a/modules/pam/manifests/init.pp +++ b/modules/pam/manifests/init.pp @@ -10,7 +10,15 @@ class pam { owner => root, group => root, mode => 644, - content => template("openldap/system-auth") + content => template("pam/system-auth") + } + + file { "nsswitch.conf": + path => "/etc/nsswitch.conf", + owner => root, + group => root, + mode => 644, + content => template("pam/system-auth") } } diff --git a/modules/pam/templates/nsswitch.conf b/modules/pam/templates/nsswitch.conf new file mode 100644 index 00000000..f797885d --- /dev/null +++ b/modules/pam/templates/nsswitch.conf @@ -0,0 +1,16 @@ +passwd: files ldap [UNAVAIL=return] +shadow: files ldap [UNAVAIL=return] +group: files ldap [UNAVAIL=return] +hosts: files mdns4_minimal [NOTFOUND=return] dns +bootparams: files +ethers: files +netmasks: files +networks: files +protocols: files +rpc: files +services: files +netgroup: files ldap +publickey: files +automount: files +aliases: files + |