@@ -507,6 +507,21 @@ parameters:
507507
508508resources :
509509
510+ # Common host configs
511+ common_cloud_config :
512+ type : OS::Heat::CloudConfig
513+ properties :
514+ cloud_config :
515+ timezone : Europe/Rome
516+
517+ # This multipart will be applied to
518+ # all the openshift hosts.
519+ common_config :
520+ type : OS::Heat::MultipartMime
521+ properties :
522+ parts :
523+ - config : {get_resource: common_cloud_config}
524+
510525 # Network Components
511526 fixed_network :
512527 type : OS::Neutron::Net
@@ -596,6 +611,7 @@ resources:
596611 extra_repository_urls : {get_param: extra_repository_urls}
597612 extra_docker_repository_urls : {get_param: extra_docker_repository_urls}
598613 ca_cert : {get_param: ca_cert}
614+ host_config : {get_resource: common_config}
599615
600616 openshift_masters :
601617 depends_on : [external_router_interface, fixed_network, fixed_subnet]
@@ -640,6 +656,7 @@ resources:
640656 dns_servers : {get_param: dns_nameserver}
641657 dns_update_key : {get_param: dns_update_key}
642658 ca_cert : {get_param: ca_cert}
659+ host_config : {get_resource: common_config}
643660
644661 openshift_infra_nodes :
645662 depends_on : [external_router_interface, fixed_network, fixed_subnet]
@@ -685,6 +702,7 @@ resources:
685702 dns_servers : {get_param: dns_nameserver}
686703 dns_update_key : {get_param: dns_update_key}
687704 ca_cert : {get_param: ca_cert}
705+ host_config : {get_resource: common_config}
688706
689707 openshift_nodes :
690708 depends_on : [external_router_interface, fixed_network, fixed_subnet]
@@ -764,6 +782,7 @@ resources:
764782 execute_ansible : {get_param: execute_ansible}
765783 extra_openshift_ansible_params : {get_param: extra_openshift_ansible_params}
766784 ca_cert : {get_param: ca_cert}
785+ host_config : {get_resource: common_config}
767786
768787 # Define the network access policy for openshift nodes
769788 node_security_group :
0 commit comments