Install build deps for nodepool installation
Nodepool depend on pyzmq which requires a C and C++ compiler chain. Nodepool also has a transitive dep on cryptography which depends on libffi-dev being available. Finally cryptography also depends on libssl-dev for its building. Install build-essential for the compiler chain and libffi-dev/libssl-dev to make cryptography work prior to installing nodepool. Change-Id: If32f6fd868ea9fefca2df610e9a2cb7a06a78631
This commit is contained in:
parent
437b4ee932
commit
920cb5e318
@ -73,6 +73,9 @@ class nodepool (
|
|||||||
}
|
}
|
||||||
|
|
||||||
$packages = [
|
$packages = [
|
||||||
|
'build-essential',
|
||||||
|
'libffi-dev',
|
||||||
|
'libssl-dev',
|
||||||
'kpartx',
|
'kpartx',
|
||||||
'qemu-utils',
|
'qemu-utils',
|
||||||
]
|
]
|
||||||
@ -126,6 +129,9 @@ class nodepool (
|
|||||||
subscribe => Vcsrepo['/opt/nodepool'],
|
subscribe => Vcsrepo['/opt/nodepool'],
|
||||||
require => [
|
require => [
|
||||||
Class['pip'],
|
Class['pip'],
|
||||||
|
Package['build-essential'],
|
||||||
|
Package['libffi-dev'],
|
||||||
|
Package['libssl-dev'],
|
||||||
Package['python-lxml'],
|
Package['python-lxml'],
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user