Fixed abusehelper and vsroom modules for CentOS 6
This commit is contained in:
parent
9a85a1217f
commit
29a674a0b5
2 changed files with 26 additions and 20 deletions
|
@ -9,8 +9,17 @@ class abusehelper {
|
|||
}
|
||||
}
|
||||
centos: {
|
||||
package { "python26":
|
||||
ensure => installed,
|
||||
case $operatingsystemrelease {
|
||||
/^5/: {
|
||||
package { "python26":
|
||||
ensure => installed,
|
||||
}
|
||||
Python::Setup::Install["/usr/local/src/abusehelper",
|
||||
"/usr/local/src/idiokit"] {
|
||||
python => "python2.6",
|
||||
require => Package["python26"],
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -45,14 +54,6 @@ class abusehelper {
|
|||
}
|
||||
python::setup::install { [ "/usr/local/src/abusehelper",
|
||||
"/usr/local/src/idiokit", ]:
|
||||
python => $operatingsystem ? {
|
||||
centos => "python2.6",
|
||||
default => "python",
|
||||
},
|
||||
require => $operatingsystem ? {
|
||||
centos => Package["python26"],
|
||||
default => undef,
|
||||
},
|
||||
}
|
||||
|
||||
include user::system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue