77240c3c1c93325e25cd6dfa94080b23bc4722bf
[apex-tripleo-heat-templates.git] / puppet / services / zaqar.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Openstack Zaqar service. Shared for all Heat services.
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   EndpointMap:
14     default: {}
15     description: Mapping of service endpoint -> protocol. Typically set
16                  via parameter_defaults in the resource registry.
17     type: json
18   DefaultPasswords:
19     default: {}
20     type: json
21   Debug:
22     default: ''
23     description: Set to True to enable debugging on all services.
24     type: string
25   ZaqarPassword:
26     description: The password for Zaqar
27     type: string
28     hidden: true
29   KeystoneRegion:
30     type: string
31     default: 'regionOne'
32     description: Keystone region for endpoint
33
34
35 outputs:
36   role_data:
37     description: Shared role data for the Heat services.
38     value:
39       service_name: zaqar
40       config_settings:
41         zaqar::keystone::authtoken::password: {get_param: ZaqarPassword}
42         zaqar::keystone::authtoken::project_name: 'service'
43         zaqar::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
44         zaqar::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
45         zaqar::debug: {get_param: Debug}
46         zaqar::transport::websocket::bind: {get_param: [EndpointMap, ZaqarInternal, host]}
47         zaqar::transport::wsgi::bind: {get_param: [ServiceNetMap, ZaqarApiNetwork]}
48         zaqar::message_pipeline: 'zaqar.notification.notifier'
49         zaqar::unreliable: true
50       service_config_settings:
51         keystone:
52           zaqar::keystone::auth::password: {get_param: ZaqarPassword}
53           zaqar::keystone::auth::public_url: {get_param: [EndpointMap, ZaqarPublic, uri]}
54           zaqar::keystone::auth::admin_url: {get_param: [EndpointMap, ZaqarAdmin, uri]}
55           zaqar::keystone::auth::internal_url: {get_param: [EndpointMap, ZaqarInternal, uri]}
56           zaqar::keystone::auth::region: {get_param: KeystoneRegion}
57           zaqar::keystone::auth::tenant: 'service'
58           zaqar::keystone::auth_websocket::password: {get_param: ZaqarPassword}
59           zaqar::keystone::auth_websocket::public_url: {get_param: [EndpointMap, ZaqarWebSocketPublic, uri]}
60           zaqar::keystone::auth_websocket::admin_url: {get_param: [EndpointMap, ZaqarWebSocketAdmin, uri]}
61           zaqar::keystone::auth_websocket::internal_url: {get_param: [EndpointMap, ZaqarWebSocketInternal, uri]}
62           zaqar::keystone::auth_websocket::region: {get_param: KeystoneRegion}
63           zaqar::keystone::auth_websocket::tenant: 'service'
64
65       step_config: |
66         include ::tripleo::profile::base::zaqar