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:
Paul Belanger 2016-08-17 09:58:41 -04:00
parent cd086492a4
commit 8f8753d90e
2 changed files with 2 additions and 2 deletions

View File

@ -23,6 +23,8 @@ class nodepool::builder(
$upload_workers = '4',
) {
include ::diskimage_builder
file { '/etc/init.d/nodepool-builder':
ensure => present,
mode => '0555',

View File

@ -107,8 +107,6 @@ class nodepool (
source => $git_source_repo,
}
include ::diskimage_builder
include ::pip
exec { 'install_nodepool' :
command => 'pip install -U /opt/nodepool',