X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=hosts-config.yaml;h=a24b9bb47a780bc10aac3d492a6abc59fc6c82b7;hb=6190f56a511fae5a0e7db956f885afe935a6b68e;hp=df0addfd610fb8bb43ca370cb0f4751e8bbafa65;hpb=f4ec754a4df333af597cc44208c3cc7114b47969;p=apex-tripleo-heat-templates.git diff --git a/hosts-config.yaml b/hosts-config.yaml index df0addfd..a24b9bb4 100644 --- a/hosts-config.yaml +++ b/hosts-config.yaml @@ -3,19 +3,23 @@ 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}