diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-12-01 14:43:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-12-01 14:43:26 +0000 |
commit | 370d392dc58a124ffe09800476d1099bf6268cb3 (patch) | |
tree | 6a6d11fc44f1ce06310cc96b38a4953ffd6e19e7 /hosts-config.yaml | |
parent | 610de3101e9bb82616bb1dac80ead66c0d56be31 (diff) | |
parent | f02742a981a602b439c918236bdb771bbf13dc97 (diff) |
Merge "Configure /etc/hosts via os-collect-config script"
Diffstat (limited to 'hosts-config.yaml')
-rw-r--r-- | hosts-config.yaml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/hosts-config.yaml b/hosts-config.yaml index b5a22b7f..a24b9bb4 100644 --- a/hosts-config.yaml +++ b/hosts-config.yaml @@ -8,11 +8,18 @@ parameters: resources: hostsConfigImpl: - type: OS::Heat::StructuredConfig + type: OS::Heat::SoftwareConfig properties: - group: os-apply-config - config: - hosts: {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: @@ -25,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} |