parametrized hostnames for cluster setups
diff --git a/reclass/storage/system/stacklight_telemetry_cluster.yml b/reclass/storage/system/stacklight_telemetry_cluster.yml
index 8791b98..12b1dae 100644
--- a/reclass/storage/system/stacklight_telemetry_cluster.yml
+++ b/reclass/storage/system/stacklight_telemetry_cluster.yml
@@ -1,9 +1,13 @@
parameters:
+ _param:
+ stacklight_telemetry_node01_hostname: mtr01
+ stacklight_telemetry_node02_hostname: mtr02
+ stacklight_telemetry_node03_hostname: mtr03
reclass:
storage:
node:
stacklight_telemetry_node01:
- name: mtr01
+ name: ${_param:stacklight_telemetry_node01_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.stacklight.telemetry
@@ -13,7 +17,7 @@
single_address: ${_param:stacklight_telemetry_node01_address}
keepalived_vip_priority: 103
stacklight_telemetry_node02:
- name: mtr02
+ name: ${_param:stacklight_telemetry_node02_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.stacklight.telemetry
@@ -23,7 +27,7 @@
single_address: ${_param:stacklight_telemetry_node02_address}
keepalived_vip_priority: 102
stacklight_telemetry_node03:
- name: mtr03
+ name: ${_param:stacklight_telemetry_node03_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.stacklight.telemetry