parametrized hostnames for cluster setups
diff --git a/reclass/storage/system/openstack_compute_multi.yml b/reclass/storage/system/openstack_compute_multi.yml
index 82f465a..0340e9c 100644
--- a/reclass/storage/system/openstack_compute_multi.yml
+++ b/reclass/storage/system/openstack_compute_multi.yml
@@ -1,9 +1,12 @@
parameters:
+ _param:
+ openstack_compute_node01_hostname: cmp01
+ openstack_compute_node02_hostname: cmp02
reclass:
storage:
node:
openstack_compute_node01:
- name: cmp01
+ name: ${_param:openstack_compute_node01_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.openstack.compute
@@ -12,7 +15,7 @@
linux_system_codename: trusty
single_address: 172.16.10.105
openstack_compute_node02:
- name: cmp02
+ name: ${_param:openstack_compute_node02_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.openstack.compute