Added OS check for package dependencies in abusehelper module
This commit is contained in:
parent
a97cf92b2b
commit
bcf192e5b6
1 changed files with 6 additions and 2 deletions
|
@ -2,8 +2,12 @@
|
||||||
#
|
#
|
||||||
class abusehelper {
|
class abusehelper {
|
||||||
|
|
||||||
package { [ "python-pyme", "python-tz" ]:
|
case $operatingsystem {
|
||||||
ensure => installed,
|
ubuntu: {
|
||||||
|
package { [ "python-pyme", "python-tz" ]:
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/usr/local/src/abusehelper.tar.gz":
|
file { "/usr/local/src/abusehelper.tar.gz":
|
||||||
|
|
Loading…
Add table
Reference in a new issue