diff options
author | Giulio Fidente <gfidente@redhat.com> | 2016-08-11 23:07:46 +0200 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2016-08-18 12:36:18 -0400 |
commit | 885b37c80ecdae308289cc2e5c2a29dc66710487 (patch) | |
tree | 6966a6341d7fe810cd9f208b89a0da9a3929dbc6 /puppet/services/services.yaml | |
parent | e59cef59b66f16338084213277cff6f61867efbf (diff) |
Pass ServiceNetMap to services
This will be needed to pick the network where the service has
to bind to from within the service template.
Change-Id: I52652e1ad8c7b360efd2c7af199e35932aaaea8c
Diffstat (limited to 'puppet/services/services.yaml')
-rw-r--r-- | puppet/services/services.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/services/services.yaml b/puppet/services/services.yaml index c9a952a5..b849b791 100644 --- a/puppet/services/services.yaml +++ b/puppet/services/services.yaml @@ -10,6 +10,12 @@ parameters: description: | List nested stack service templates. type: comma_delimited_list + 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 @@ -24,6 +30,7 @@ resources: resources: {get_param: Services} concurrent: true resource_properties: + ServiceNetMap: {get_param: ServiceNetMap} EndpointMap: {get_param: EndpointMap} outputs: |