include ::diskimage_builder in builder.pp too
Since it is possible for ::nodepool::builder to only be called, we need to make sure diskimage-builder is also installed. Change-Id: Ibbb49bbb6a28ee402dfb60ca5ca1fa2ae8f2f7da Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
cd086492a4
commit
8f8753d90e
|
@ -23,6 +23,8 @@ class nodepool::builder(
|
|||
$upload_workers = '4',
|
||||
) {
|
||||
|
||||
include ::diskimage_builder
|
||||
|
||||
file { '/etc/init.d/nodepool-builder':
|
||||
ensure => present,
|
||||
mode => '0555',
|
||||
|
|
|
@ -107,8 +107,6 @@ class nodepool (
|
|||
source => $git_source_repo,
|
||||
}
|
||||
|
||||
include ::diskimage_builder
|
||||
|
||||
include ::pip
|
||||
exec { 'install_nodepool' :
|
||||
command => 'pip install -U /opt/nodepool',
|
||||
|
|
Loading…
Reference in New Issue