Add 'service_name' to composable services
[apex-tripleo-heat-templates.git] / puppet / services / rabbitmq.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   RabbitMQ service 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   RabbitUserName:
13     default: guest
14     description: The username for RabbitMQ
15     type: string
16   RabbitPassword:
17     description: The password for RabbitMQ
18     type: string
19     hidden: true
20   RabbitFDLimit:
21     default: 65536
22     description: Configures RabbitMQ FD limit
23     type: string
24   RabbitIPv6:
25     default: false
26     description: Enable IPv6 in RabbitMQ
27     type: boolean
28
29 outputs:
30   role_data:
31     description: Role data for the RabbitMQ role.
32     value:
33       service_name: rabbitmq
34       config_settings:
35         rabbitmq::file_limit: {get_param: RabbitFDLimit}
36         rabbitmq::default_user: {get_param: RabbitUserName}
37         rabbitmq::default_pass: {get_param: RabbitPassword}
38         rabbit_ipv6: {get_param: RabbitIPv6}
39       step_config: |
40         include ::tripleo::profile::base::rabbitmq