From 689d80e97188342c84bb965980d48c8ed212e60d Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Fri, 5 Aug 2016 11:54:25 +0200 Subject: Fix parameters and headers inconsistency in the puppet manifests. As we are staring to manually check overcloud services the first step is to check that the puppet profiles are all aligned. Changes applied: No logic added or removed in this submission. Removed unused parameters. Align header comments structure. All profiles parameters sorted following: "Mandatory params first sorted alphabetically then optional params sorted alphabetically." Note: Following submissions will check pacemaker, cinder, mistral and redis services in the base profiles as some of them has the $pacemaker_master parameter defaulted to true. Change-Id: I2f91c3f6baa33f74b5625789eec83233179a9655 --- manifests/profile/base/rabbitmq.pp | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'manifests/profile/base/rabbitmq.pp') diff --git a/manifests/profile/base/rabbitmq.pp b/manifests/profile/base/rabbitmq.pp index 6e86eab..dc6ea4d 100644 --- a/manifests/profile/base/rabbitmq.pp +++ b/manifests/profile/base/rabbitmq.pp @@ -18,25 +18,25 @@ # # === Parameters # -# [*nodes*] -# (Optional) Array of host(s) for RabbitMQ nodes. -# Defaults to hiera('rabbit_node_ips', []). -# -# [*ipv6*] -# (Optional) Whether to deploy RabbitMQ on IPv6 network. -# Defaults to str2bool(hiera('rabbit_ipv6', false)). +# [*config_variables*] +# (Optional) RabbitMQ environment. +# Defaults to hiera('rabbitmq_config_variables'). # # [*environment*] # (Optional) RabbitMQ environment. # Defaults to hiera('rabbitmq_environment'). # +# [*ipv6*] +# (Optional) Whether to deploy RabbitMQ on IPv6 network. +# Defaults to str2bool(hiera('rabbit_ipv6', false)). +# # [*kernel_variables*] # (Optional) RabbitMQ environment. # Defaults to hiera('rabbitmq_environment'). # -# [*config_variables*] -# (Optional) RabbitMQ environment. -# Defaults to hiera('rabbitmq_config_variables'). +# [*nodes*] +# (Optional) Array of host(s) for RabbitMQ nodes. +# Defaults to hiera('rabbit_node_ips', []). # # [*step*] # (Optional) The current step in deployment. See tripleo-heat-templates @@ -44,14 +44,13 @@ # Defaults to hiera('step') # class tripleo::profile::base::rabbitmq ( - $nodes = hiera('rabbit_node_ips', []), - $ipv6 = str2bool(hiera('rabbit_ipv6', false)), + $config_variables = hiera('rabbitmq_config_variables'), $environment = hiera('rabbitmq_environment'), + $ipv6 = str2bool(hiera('rabbit_ipv6', false)), $kernel_variables = hiera('rabbitmq_kernel_variables'), - $config_variables = hiera('rabbitmq_config_variables'), + $nodes = hiera('rabbit_node_ips', []), $step = hiera('step'), ) { - # IPv6 environment, necessary for RabbitMQ. if $ipv6 { $rabbit_env = merge($environment, { -- cgit 1.2.3-korg