Add option not to install nodepool-builder from init.pp

Give an option to users to not install nodepool-builder from init.pp.

Change-Id: I387de90147a8d0bc1b50dfd29ada1015542a6c57
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-11-18 14:19:43 -05:00
parent 8f8753d90e
commit 799dbee521
1 changed files with 9 additions and 6 deletions

View File

@ -50,6 +50,7 @@ class nodepool (
$mysql_host = 'localhost',
$mysql_user_name = 'nodepool',
$split_daemon = false,
$install_nodepool_builder = true,
) {
if($install_mysql) {
@ -447,11 +448,13 @@ class nodepool (
mode => '0440',
}
class { '::nodepool::builder':
statsd_host => $statsd_host,
environment => $environment,
builder_logging_conf_template => $builder_logging_conf_template,
build_workers => $build_workers,
upload_workers => $upload_workers,
if ($install_nodepool_builder) {
class { '::nodepool::builder':
statsd_host => $statsd_host,
environment => $environment,
builder_logging_conf_template => $builder_logging_conf_template,
build_workers => $build_workers,
upload_workers => $upload_workers,
}
}
}