Merge "Enables support for configuring Cinder with Pure Storage FlashArray storage...
[apex-tripleo-heat-templates.git] / puppet / services / qdr.yaml
1 heat_template_version: ocata
2
3 description: >
4   Qpid dispatch router service configured with Puppet
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   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   RabbitUserName:
22     default: guest
23     description: The username for Qdr
24     type: string
25   RabbitPassword:
26     description: The password for Qdr
27     type: string
28     hidden: true
29   RabbitClientPort:
30     description: Listening port for Qdr
31     default: 5672
32     type: number
33   MonitoringSubscriptionQdr:
34     default: 'overcloud-qdr'
35     type: string
36
37 outputs:
38   role_data:
39     description: Role data for the Qdr role.
40     value:
41       service_name: rabbitmq
42       monitoring_subscription: {get_param: MonitoringSubscriptionQdr}
43       global_config_settings:
44         messaging_notify_service_name: 'amqp'
45         messaging_rpc_service_name: 'amqp'
46         keystone::messaging::amqp::amqp_pre_settled: 'notify'
47       config_settings:
48         tripleo.rabbitmq.firewall_rules:
49           '109 qdr':
50             dport:
51               - {get_param: RabbitClientPort}
52         qdr::listener_addr: {get_param: [ServiceNetMap, QdrNetwork]}
53         # cannot pass qdr::listener_port directly because it needs to be a string
54         # we do the conversion in the puppet layer
55         tripleo::profile::base::qdr::qdr_listener_port: {get_param: RabbitClientPort}
56         tripleo::profile::base::qdr::qdr_username: {get_param: RabbitUserName}
57         tripleo::profile::base::qdr::qdr_password: {get_param: RabbitPassword}
58
59       step_config: |
60         include ::tripleo::profile::base::qdr