Added support for RHEL and did some syntax cleaning
Assume that "RedHat" also works where "CentOS" does.
This commit is contained in:
parent
e9aae1dcf6
commit
24ecb51f6f
63 changed files with 544 additions and 497 deletions
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
class pam::common {
|
||||
|
||||
case $operatingsystem {
|
||||
case $::operatingsystem {
|
||||
"ubuntu": {
|
||||
package { "libpam-runtime":
|
||||
ensure => installed,
|
||||
|
@ -25,8 +25,8 @@ class pam::mkhomedir {
|
|||
|
||||
include pam::common
|
||||
|
||||
case $operatingsystem {
|
||||
"centos","fedora": {
|
||||
case $::operatingsystem {
|
||||
"centos","redhat","fedora": {
|
||||
exec { "authconfig --enablemkhomedir --update":
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
unless => "egrep '^USEMKHOMEDIR=yes\$' /etc/sysconfig/authconfig",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue