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
44 description: Role data for the RabbitMQ role.
46 service_name: rabbitmq
48 rabbitmq::file_limit: {get_param: RabbitFDLimit}
49 rabbitmq::default_user: {get_param: RabbitUserName}
50 rabbitmq::default_pass: {get_param: RabbitPassword}
51 rabbit_ipv6: {get_param: RabbitIPv6}
52 tripleo.rabbitmq.firewall_rules:
58 rabbitmq::delete_guest_user: false
59 rabbitmq::wipe_db_on_cookie_change: true
60 rabbitmq::port: '5672'
61 rabbitmq::package_source: undef
62 rabbitmq::repos_ensure: false
64 RABBITMQ_NODENAME: "rabbit@%{::hostname}"
65 RABBITMQ_SERVER_ERL_ARGS: '"+K true +A30 +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>>}]"'
66 rabbitmq_kernel_variables:
67 inet_dist_listen_min: '35672'
68 inet_dist_listen_max: '35672'
69 rabbitmq_config_variables:
70 tcp_listen_options: '[binary, {packet, raw}, {reuseaddr, true}, {backlog, 128}, {nodelay, true}, {exit_on_close, false}, {keepalive, true}]'
71 cluster_partition_handling: 'pause_minority'
73 rabbitmq::erlang_cookie:
75 expression: $.data.passwords.where($ != '').first()
78 - {get_param: RabbitCookie}
79 - {get_param: [DefaultPasswords, rabbit_cookie]}
80 # NOTE: bind IP is found in Heat replacing the network name with the
81 # local node IP for the given network; replacement examples
82 # (eg. for internal_api):
84 # internal_api_uri -> [IP]
85 # internal_api_subnet - > IP/CIDR
86 rabbitmq::node_ip_address: {get_param: [ServiceNetMap, RabbitmqNetwork]}
88 include ::tripleo::profile::base::rabbitmq