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:
James E. Blair 2014-08-14 15:28:47 -07:00
parent 75e7cbaa47
commit fdd01d84a8

View File

@ -30,6 +30,14 @@ class nodepool (
$environment = {},
) {
$packages = [
'python-lxml', # needed by python-keystoneclient, has system bindings
]
package { $packages:
ensure => present,
}
class { 'mysql::server':
config_hash => {
'root_password' => $mysql_root_password,
@ -87,7 +95,10 @@ class nodepool (
path => '/usr/local/bin:/usr/bin:/bin/',
refreshonly => true,
subscribe => Vcsrepo['/opt/nodepool'],
require => Class['pip'],
require => [
Class['pip'],
Package['python-lxml'],
],
}
file { '/etc/nodepool':