Allow passing in nodepool logging template.

Allow using an alternate template for nodepool logging configuration.

Change-Id: I89207d100eb4b6bbb502a6ed38831f49e4b29096
This commit is contained in:
Ramy Asselin
2015-10-21 10:09:38 -07:00
parent ef50e6ef50
commit 90cef42457

View File

@@ -29,6 +29,7 @@ class openstackci::nodepool (
$image_log_document_root = '/var/log/nodepool/image',
$enable_image_log_via_http = true,
$project_config_repo = '',
$logging_conf_template = 'nodepool/nodepool.logging.conf.erb',
$jenkins_masters = [],
) {
@@ -52,6 +53,7 @@ class openstackci::nodepool (
scripts_dir => $::project_config::nodepool_scripts_dir,
elements_dir => $::project_config::nodepool_elements_dir,
require => $::project_config::config_dir,
logging_conf_template => $logging_conf_template,
jenkins_masters => $jenkins_masters,
}