Merge "Remove ControllerClusterConfig from overcloud.yaml"
[apex-tripleo-heat-templates.git] / puppet / services / neutron-metadata.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron Metadata agent configured with Puppet
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   MysqlVirtualIPUri:
13     type: string
14     default: ''
15   NeutronMetadataProxySharedSecret:
16     description: Shared secret to prevent spoofing
17     type: string
18     hidden: true
19   NeutronWorkers:
20     default: 0
21     description: Number of workers for Neutron service.
22     type: number
23   NeutronPassword:
24     description: The password for the neutron service and db account, used by neutron agents.
25     type: string
26     hidden: true
27
28 resources:
29
30   NeutronBase:
31     type: ./neutron-base.yaml
32
33 outputs:
34   role_data:
35     description: Role data for the Neutron Metadata agent service.
36     value:
37       config_settings:
38         map_merge:
39           - get_attr: [NeutronBase, role_data, config_settings]
40           - neutron::agents::metadata::shared_secret: {get_param: NeutronMetadataProxySharedSecret}
41             neutron::agents::metadata::metadata_workers: {get_param: NeutronWorkers}
42             neutron::agents::metadata::auth_password: {get_param: NeutronPassword}
43             neutron::agents::metadata::auth_url: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
44       step_config: |
45         include tripleo::profile::base::neutron::metadata