Added OS check for package dependencies in abusehelper module

This commit is contained in:
Ossi Salmi 2010-12-26 19:38:04 +02:00 committed by Timo Mkinen
parent a97cf92b2b
commit bcf192e5b6

View file

@ -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":