393fbaafc8379d0d4f65e4edc7669e41201691cc
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / glance-registry.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Glance Registry service with Pacemaker 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
16 resources:
17
18   GlanceRegistryBase:
19     type: ../glance-registry.yaml
20     properties:
21       EndpointMap: {get_param: EndpointMap}
22       MysqlVirtualIPUri: {get_param: MysqlVirtualIPUri}
23
24 outputs:
25   role_data:
26     description: Role data for the Glance role.
27     value:
28       config_settings:
29         map_merge:
30           - get_attr: [GlanceRegistryBase, role_data, config_settings]
31           - glance::registry::manage_service: false
32             glance::registry::enabled: false
33       # No puppet manifests since glance-registry is included in
34       # ::tripleo::profile::pacemaker::glance which is maintained alongside of
35       # pacemaker/glance-api.yaml.
36       step_config: