X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=hosts-config.yaml;h=5a2117164ef7ad0561c14519bc7f08973d8522e5;hb=df792156b3e6c98e4a9be04c3ee5969ed096e186;hp=df0addfd610fb8bb43ca370cb0f4751e8bbafa65;hpb=713a2e88c17fa6d1b110b2ad61fefc7050215126;p=apex-tripleo-heat-templates.git diff --git a/hosts-config.yaml b/hosts-config.yaml index df0addfd..5a211716 100644 --- a/hosts-config.yaml +++ b/hosts-config.yaml @@ -1,21 +1,25 @@ -heat_template_version: 2016-10-14 +heat_template_version: ocata description: 'All Hosts Config' parameters: hosts: - type: comma_delimited_list + type: string resources: hostsConfigImpl: - type: OS::Heat::StructuredConfig + type: OS::Heat::SoftwareConfig properties: - group: os-apply-config - config: - hosts: - list_join: - - "\n" - - {get_param: hosts} + group: script + inputs: + - name: hosts + default: + list_join: + - ' ' + - str_split: + - '\n' + - {get_param: hosts} + config: {get_file: scripts/hosts-config.sh} outputs: config_id: @@ -28,3 +32,6 @@ outputs: hostname-based access to the deployed nodes (useful for testing without setting up a DNS). value: {get_attr: [hostsConfigImpl, config, hosts]} + OS::stack_id: + description: The ID of the hostsConfigImpl resource. + value: {get_resource: hostsConfigImpl}