X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=hosts-config.yaml;h=5a2117164ef7ad0561c14519bc7f08973d8522e5;hb=7e0bd173a3b4ee24305ead56df52d42b82784cac;hp=df0addfd610fb8bb43ca370cb0f4751e8bbafa65;hpb=9b3aba0309af54991d3e24b0ca147426a5b815a5;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}