Zuul depends indirectly on lxml

* modules/zuul/manifests/init.pp: When zuul started using
python-keystoneclient for Swift integration in 36c3fa5 it began
indirectly depending 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.

Change-Id: Id83ad09f99bcb1606f4037fbb26823a9bd0401ee
This commit is contained in:
Jeremy Stanley 2014-07-30 23:12:03 +00:00
parent 1e70839378
commit e73ff00c5b

View File

@ -52,9 +52,10 @@ class zuul (
$packages = [
'gcc', # yappi requires this to build
'python-webob',
'python-lockfile',
'python-lxml', # needed by python-keystoneclient, has system bindings
'python-paste',
'python-webob',
]
package { $packages:
@ -118,7 +119,19 @@ class zuul (
path => '/usr/local/bin:/usr/bin:/bin/',
refreshonly => true,
subscribe => Vcsrepo['/opt/zuul'],
require => Class['pip'],
require => [
Class['pip'],
Package['gcc'],
Package['python-daemon'],
Package['python-lockfile'],
Package['python-lxml'],
Package['python-paramiko'],
Package['python-paste'],
Package['python-webob'],
Package['python-yaml'],
Package['yappi'],
Package['yui-compressor'],
],
}
file { '/etc/zuul':