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
|
@ -54,9 +54,9 @@ class vsroom::collab {
|
|||
#
|
||||
class vsroom::common {
|
||||
|
||||
case $operatingsystem {
|
||||
centos: {
|
||||
case $operatingsystemrelease {
|
||||
case $::operatingsystem {
|
||||
"centos","redhat": {
|
||||
case $::operatingsystemrelease {
|
||||
/^5/: {
|
||||
Python::Setup::Install["/usr/local/src/vsroom"] {
|
||||
python => "python2.6",
|
||||
|
@ -116,7 +116,7 @@ class vsroom::common {
|
|||
}
|
||||
}
|
||||
|
||||
$htdocs = $operatingsystem ? {
|
||||
$htdocs = $::operatingsystem ? {
|
||||
"ubuntu" => "/usr/local/share/vsroom/htdocs",
|
||||
default => "/usr/share/vsroom/htdocs",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue