1 heat_template_version: 2016-10-14
4 RabbitMQ service configured with Puppet
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.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
23 description: The username for RabbitMQ
26 description: The password for RabbitMQ
31 description: Configures RabbitMQ FD limit
35 description: Enable IPv6 in RabbitMQ
41 MonitoringSubscriptionRabbitmq:
42 default: 'overcloud-rabbitmq'
47 description: Role data for the RabbitMQ role.
49 service_name: rabbitmq
50 monitoring_subscription: {get_param: MonitoringSubscriptionRabbitmq}
52 rabbitmq::file_limit: {get_param: RabbitFDLimit}
53 rabbitmq::default_user: {get_param: RabbitUserName}
54 rabbitmq::default_pass: {get_param: RabbitPassword}
55 rabbit_ipv6: {get_param: RabbitIPv6}
56 tripleo.rabbitmq.firewall_rules:
62 rabbitmq::delete_guest_user: false
63 rabbitmq::wipe_db_on_cookie_change: true
64 rabbitmq::port: '5672'
65 rabbitmq::package_source: undef
66 rabbitmq::repos_ensure: false
68 RABBITMQ_NODENAME: "rabbit@%{::hostname}"
69 RABBITMQ_SERVER_ERL_ARGS: '"+K true +P 1048576 -kernel inet_default_connect_options [{nodelay,true},{raw,6,18,<<5000:64/native>>}] -kernel inet_default_listen_options [{raw,6,18,<<5000:64/native>>}]"'
70 rabbitmq_kernel_variables:
71 inet_dist_listen_min: '25672'
72 inet_dist_listen_max: '25672'
73 rabbitmq_config_variables:
74 tcp_listen_options: '[binary, {packet, raw}, {reuseaddr, true}, {backlog, 128}, {nodelay, true}, {exit_on_close, false}, {keepalive, true}]'
75 cluster_partition_handling: 'pause_minority'
77 rabbitmq::erlang_cookie:
79 expression: $.data.passwords.where($ != '').first()
82 - {get_param: RabbitCookie}
83 - {get_param: [DefaultPasswords, rabbit_cookie]}
84 # NOTE: bind IP is found in Heat replacing the network name with the
85 # local node IP for the given network; replacement examples
86 # (eg. for internal_api):
88 # internal_api_uri -> [IP]
89 # internal_api_subnet - > IP/CIDR
90 rabbitmq::node_ip_address: {get_param: [ServiceNetMap, RabbitmqNetwork]}
92 include ::tripleo::profile::base::rabbitmq