summaryrefslogtreecommitdiffstats
path: root/roles/openstack-stack
diff options
context:
space:
mode:
authorioggstream <robipolli@gmail.com>2017-08-16 16:43:58 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-08-16 16:43:58 +0200
commit998634ffd25a17ff581a124396fd1183706f2478 (patch)
tree374d167923568e2f719a692fa7e54a7256b34208 /roles/openstack-stack
parent03aa2f44eff7ae7364e3c109637c3c934788d5cb (diff)
downloadopenshift-998634ffd25a17ff581a124396fd1183706f2478.tar.gz
openshift-998634ffd25a17ff581a124396fd1183706f2478.tar.bz2
openshift-998634ffd25a17ff581a124396fd1183706f2478.tar.xz
openshift-998634ffd25a17ff581a124396fd1183706f2478.zip
Avoid server recreation in case of user_data modification. (#651)
Diffstat (limited to 'roles/openstack-stack')
-rw-r--r--roles/openstack-stack/templates/heat_stack_server.yaml.j21
-rw-r--r--roles/openstack-stack/templates/heat_stack_server_nofloating.yaml.j21
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openstack-stack/templates/heat_stack_server.yaml.j2 b/roles/openstack-stack/templates/heat_stack_server.yaml.j2
index 85af311ec..32fb166f6 100644
--- a/roles/openstack-stack/templates/heat_stack_server.yaml.j2
+++ b/roles/openstack-stack/templates/heat_stack_server.yaml.j2
@@ -134,6 +134,7 @@ resources:
user_data:
get_file: user-data
user_data_format: RAW
+ user_data_update_policy: IGNORE
metadata:
group: { get_param: group }
environment: { get_param: cluster_env }
diff --git a/roles/openstack-stack/templates/heat_stack_server_nofloating.yaml.j2 b/roles/openstack-stack/templates/heat_stack_server_nofloating.yaml.j2
index a22b7c6d0..638fc8b45 100644
--- a/roles/openstack-stack/templates/heat_stack_server_nofloating.yaml.j2
+++ b/roles/openstack-stack/templates/heat_stack_server_nofloating.yaml.j2
@@ -119,6 +119,7 @@ resources:
user_data:
get_file: user-data
user_data_format: RAW
+ user_data_update_policy: IGNORE
metadata:
group: { get_param: group }
environment: { get_param: cluster_env }