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:
parent
8f8753d90e
commit
799dbee521
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user