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
|
@ -50,7 +50,7 @@ class wiki::moin {
|
|||
require => Util::Patch["/usr/local/src/moin"],
|
||||
}
|
||||
|
||||
$shared = $operatingsystem ? {
|
||||
$shared = $::operatingsystem ? {
|
||||
"ubuntu" => "/usr/local/share/moin",
|
||||
default => "/usr/share/moin",
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ class wiki::graphingwiki::common {
|
|||
ensure => directory,
|
||||
mode => "0644",
|
||||
owner => "root",
|
||||
group => $operatingsystem ? {
|
||||
group => $::operatingsystem ? {
|
||||
"openbsd" => "wheel",
|
||||
default => "root",
|
||||
},
|
||||
|
@ -364,7 +364,7 @@ class wiki::collab::base {
|
|||
|
||||
cron { "collab-htaccess":
|
||||
ensure => present,
|
||||
command => $operatingsystem ? {
|
||||
command => $::operatingsystem ? {
|
||||
ubuntu => "/usr/local/bin/collab-htaccess",
|
||||
default => "/usr/bin/collab-htaccess",
|
||||
},
|
||||
|
@ -415,7 +415,7 @@ class wiki::collab::ramcache {
|
|||
dump => "0",
|
||||
pass => "0",
|
||||
require => File["/srv/wikis/collab/cache"],
|
||||
before => $operatingsystem ? {
|
||||
before => $::operatingsystem ? {
|
||||
"ubuntu" => Service["apache2"],
|
||||
default => Service["httpsd"],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue