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
|
@ -5,7 +5,7 @@ class custom {
|
|||
ensure => directory,
|
||||
mode => "0755",
|
||||
owner => root,
|
||||
group => $operatingsystem ? {
|
||||
group => $::operatingsystem ? {
|
||||
OpenBSD => wheel,
|
||||
default => root,
|
||||
},
|
||||
|
@ -121,7 +121,7 @@ class custom::rootpassword {
|
|||
fail("Root password hash not defined.")
|
||||
}
|
||||
|
||||
case $operatingsystem {
|
||||
case $::operatingsystem {
|
||||
openbsd: {
|
||||
exec { "usermod -p \${SECRET} root":
|
||||
environment => "SECRET=${root_password}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue