abusesa: Fixed package installation in abusesa::search

This commit is contained in:
Ossi Salmi 2013-06-13 13:05:58 +03:00
parent 1a6ca4a123
commit e1f8215b50

View file

@ -118,8 +118,16 @@ class abusesa::search {
python::setup::install { "/usr/local/src/abusesa-search": }
package { [ "python-BeautifulSoup",
"python-lxml", ]:
package { "python-BeautifulSoup":
ensure => installed,
name => $::operatingsystem ? {
"debian" => "python-beautifulsoup",
"ubuntu" => "python-beautifulsoup",
default => "python-BeautifulSoup",
}
}
package { "python-lxml":
ensure => installed,
}