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
|
@ -66,7 +66,7 @@ class mysql::server {
|
|||
}
|
||||
|
||||
service { "mysqld":
|
||||
name => $operatingsystem ? {
|
||||
name => $::operatingsystem ? {
|
||||
"ubuntu" => "mysql",
|
||||
"debian" => "mysql",
|
||||
default => "mysqld",
|
||||
|
@ -113,7 +113,7 @@ class mysql::server {
|
|||
content => "[client]\nuser=\"root\"\npassword=\"${mysql_root_password}\"\n",
|
||||
mode => "0600",
|
||||
owner => "root",
|
||||
group => $operatingsystem ? {
|
||||
group => $::operatingsystem ? {
|
||||
"openbsd" => "wheel",
|
||||
default => "root",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue