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
Pass ServiceNetMap to services
[apex-tripleo-heat-templates.git]
/
puppet
/
services
/
database
/
redis.yaml
diff --git
a/puppet/services/database/redis.yaml
b/puppet/services/database/redis.yaml
index
ef005f7
..
62f05ff
100644
(file)
--- a/
puppet/services/database/redis.yaml
+++ b/
puppet/services/database/redis.yaml
@@
-4,6
+4,12
@@
description: >
OpenStack Redis service configured with Puppet
parameters:
OpenStack Redis service configured with Puppet
parameters:
+ ServiceNetMap:
+ default: {}
+ description: Mapping of service_name -> network name. Typically set
+ via parameter_defaults in the resource registry. This
+ mapping overrides those in ServiceNetMapDefaults.
+ type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
@@
-13,6
+19,9
@@
parameters:
resources:
RedisBase:
type: ./redis-base.yaml
resources:
RedisBase:
type: ./redis-base.yaml
+ properties:
+ ServiceNetMap: {get_param: ServiceNetMap}
+ EndpointMap: {get_param: EndpointMap}
outputs:
role_data:
outputs:
role_data: