Nodepool dependens indirectly on lxml
Nodepool now depends indirectly on lxml via keystoneclient. To pip install lxml you need libxml and libxslt development packages on the system to provide headers so that the library bindings can be compiled, so it's easier to just use the python-lxml system packages instead. Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org> Change-Id: Id5c2070250cd9474c83edaa6ed1119a5325ea913
This commit is contained in:
parent
75e7cbaa47
commit
fdd01d84a8
@ -30,6 +30,14 @@ class nodepool (
|
|||||||
$environment = {},
|
$environment = {},
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
$packages = [
|
||||||
|
'python-lxml', # needed by python-keystoneclient, has system bindings
|
||||||
|
]
|
||||||
|
|
||||||
|
package { $packages:
|
||||||
|
ensure => present,
|
||||||
|
}
|
||||||
|
|
||||||
class { 'mysql::server':
|
class { 'mysql::server':
|
||||||
config_hash => {
|
config_hash => {
|
||||||
'root_password' => $mysql_root_password,
|
'root_password' => $mysql_root_password,
|
||||||
@ -87,7 +95,10 @@ class nodepool (
|
|||||||
path => '/usr/local/bin:/usr/bin:/bin/',
|
path => '/usr/local/bin:/usr/bin:/bin/',
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
subscribe => Vcsrepo['/opt/nodepool'],
|
subscribe => Vcsrepo['/opt/nodepool'],
|
||||||
require => Class['pip'],
|
require => [
|
||||||
|
Class['pip'],
|
||||||
|
Package['python-lxml'],
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/nodepool':
|
file { '/etc/nodepool':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user