Parameterized linux_system_codename
Change-Id: Ic527bfa74b4caf7e0bb5d157bfae024f2cf53111
diff --git a/reclass/storage/system/kubernetes_control_cluster.yml b/reclass/storage/system/kubernetes_control_cluster.yml
index de6a135..15bec1e 100644
--- a/reclass/storage/system/kubernetes_control_cluster.yml
+++ b/reclass/storage/system/kubernetes_control_cluster.yml
@@ -6,6 +6,7 @@
kubernetes_control_node01_deploy_address: ${_param:kubernetes_control_node01_address}
kubernetes_control_node02_deploy_address: ${_param:kubernetes_control_node02_address}
kubernetes_control_node03_deploy_address: ${_param:kubernetes_control_node03_address}
+ kubernetes_control_system_codename: xenial
reclass:
storage:
node:
@@ -16,7 +17,7 @@
- cluster.${_param:cluster_name}.kubernetes.control
params:
salt_master_host: ${_param:reclass_config_master}
- linux_system_codename: xenial
+ linux_system_codename: ${_param:kubernetes_control_system_codename}
single_address: ${_param:kubernetes_control_node01_address}
deploy_address: ${_param:kubernetes_control_node01_deploy_address}
keepalived_vip_priority: 103
@@ -27,7 +28,7 @@
- cluster.${_param:cluster_name}.kubernetes.control
params:
salt_master_host: ${_param:reclass_config_master}
- linux_system_codename: xenial
+ linux_system_codename: ${_param:kubernetes_control_system_codename}
single_address: ${_param:kubernetes_control_node02_address}
deploy_address: ${_param:kubernetes_control_node02_deploy_address}
keepalived_vip_priority: 102
@@ -38,7 +39,7 @@
- cluster.${_param:cluster_name}.kubernetes.control
params:
salt_master_host: ${_param:reclass_config_master}
- linux_system_codename: xenial
+ linux_system_codename: ${_param:kubernetes_control_system_codename}
single_address: ${_param:kubernetes_control_node03_address}
deploy_address: ${_param:kubernetes_control_node03_deploy_address}
- keepalived_vip_priority: 101
\ No newline at end of file
+ keepalived_vip_priority: 101