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
|
@ -41,7 +41,7 @@ define util::extract::tar($source, $ensure=present, $strip=0, $preserve=false) {
|
|||
ensure => directory,
|
||||
mode => "0755",
|
||||
owner => "root",
|
||||
group => $operatingsystem ? {
|
||||
group => $::operatingsystem ? {
|
||||
"openbsd" => "wheel",
|
||||
default => "root",
|
||||
},
|
||||
|
@ -53,7 +53,7 @@ define util::extract::tar($source, $ensure=present, $strip=0, $preserve=false) {
|
|||
bz2, tbz: { $cat = "bzcat" }
|
||||
}
|
||||
|
||||
$tar = $operatingsystem ? {
|
||||
$tar = $::operatingsystem ? {
|
||||
"openbsd" => "gtar",
|
||||
default => "tar",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue