abusesa: Fixed package installation in abusesa::search
This commit is contained in:
parent
1a6ca4a123
commit
e1f8215b50
1 changed files with 10 additions and 2 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue