Browse Source

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>
changes/00/504500/1
Paul Belanger 1 year ago
parent
commit
4a95622eae
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      manifests/init.pp

+ 1
- 1
manifests/init.pp View File

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

Loading…
Cancel
Save