Update nodepool_config_file_zuulv3 to use hostname

Switch to use hostname to find the nodepoolv3 configuration file from
project-config.

Change-Id: I7c8d37c747083cc34c5ed9632be002ed0c6f4b9b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-09-15 15:28:24 -04:00
parent 231ce9335b
commit 4a95622eae
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class project_config(
$nodepool_scripts_dir = "/etc/project-config/${base}nodepool/scripts"
$nodepool_elements_dir = "/etc/project-config/${base}nodepool/elements"
$nodepool_config_file = "/etc/project-config/${base}nodepool/nodepool.yaml"
$nodepool_config_file_zuulv3 = "/etc/project-config/${base}nodepool/nodepoolv3.yaml"
$nodepool_config_file_zuulv3 = "/etc/project-config/${base}nodepool/${::hostname}.yaml"
$zuul_layout_dir = "/etc/project-config/${base}zuul"
$zuul_site_variables_yaml = "/etc/project-config/${base}zuul/site-variables.yaml"
}