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,9 +2,13 @@
# #
class abusehelper { class abusehelper {
case $operatingsystem {
ubuntu: {
package { [ "python-pyme", "python-tz" ]: package { [ "python-pyme", "python-tz" ]:
ensure => installed, ensure => installed,
} }
}
}
file { "/usr/local/src/abusehelper.tar.gz": file { "/usr/local/src/abusehelper.tar.gz":
ensure => present, ensure => present,