Add openstack_node_role parameter
Add openstack_node_role parameter that will specify node role
primary|secondary. This metadata will be used by formulas as a
trigger to run one-shot operations.
Change-Id: I230590bc5f9d53960c6edaf7e37c44541d9c3342
Related-Prod: PROD-21267
diff --git a/keystone/server/single.yml b/keystone/server/single.yml
index 16c26ca..2b1e89e 100644
--- a/keystone/server/single.yml
+++ b/keystone/server/single.yml
@@ -8,6 +8,7 @@
mysql_admin_password: password
mysql_keystone_password: password
keystone_tokens_expiration: 3600
+ openstack_node_role: primary
linux:
system:
package:
@@ -24,6 +25,7 @@
admin_name: admin
admin_password: ${_param:keystone_admin_password}
admin_email: ${_param:admin_email}
+ role: ${_param:openstack_node_role}
bind:
address: ${_param:single_address}
private_address: ${_param:single_address}