Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Zaqar: Match service name with service-net-map
[apex-tripleo-heat-templates.git]
/
hosts-config.yaml
diff --git
a/hosts-config.yaml
b/hosts-config.yaml
index
b5a22b7
..
f0d3c6a
100644
(file)
--- a/
hosts-config.yaml
+++ b/
hosts-config.yaml
@@
-1,4
+1,4
@@
-heat_template_version:
2016-10-14
+heat_template_version:
pike
description: 'All Hosts Config'
parameters:
description: 'All Hosts Config'
parameters:
@@
-8,11
+8,18
@@
parameters:
resources:
hostsConfigImpl:
resources:
hostsConfigImpl:
- type: OS::Heat::S
tructured
Config
+ type: OS::Heat::S
oftware
Config
properties:
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:
outputs:
config_id:
@@
-24,4
+31,7
@@
outputs:
The content that should be appended to your /etc/hosts if you want to get
hostname-based access to the deployed nodes (useful for testing without
setting up a DNS).
The content that should be appended to your /etc/hosts if you want to get
hostname-based access to the deployed nodes (useful for testing without
setting up a DNS).
- value: {get_attr: [hostsConfigImpl, config, hosts]}
+ value: {get_param: hosts}
+ OS::stack_id:
+ description: The ID of the hostsConfigImpl resource.
+ value: {get_resource: hostsConfigImpl}