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/neutron/agents/nuage.pp | 34 ++++++++++++-------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'manifests/profile/base/neutron/agents/nuage.pp') diff --git a/manifests/profile/base/neutron/agents/nuage.pp b/manifests/profile/base/neutron/agents/nuage.pp index c50feb2..80beceb 100644 --- a/manifests/profile/base/neutron/agents/nuage.pp +++ b/manifests/profile/base/neutron/agents/nuage.pp @@ -18,36 +18,34 @@ # # === Parameters # -# [*nova_os_tenant_name*] -# (Optional) Nova tenant name -# Defaults to hiera('nova_os_tenant_name') -# -# [*nova_os_password*] -# (Optional) Nova password -# Defaults to hiera('nova_password') +# [*nova_auth_ip*] +# (Optional) Nova auth IP +# Defaults to hiera('keystone_public_api_virtual_ip') # # [*nova_metadata_ip*] # (Optional) Nova metadata node IPs # Defaults to hiera('nova_metadata_node_ips') # -# [*nova_auth_ip*] -# (Optional) Nova auth IP -# Defaults to hiera('keystone_public_api_virtual_ip') +# [*nova_os_password*] +# (Optional) Nova password +# Defaults to hiera('nova_password') +# +# [*nova_os_tenant_name*] +# (Optional) Nova tenant name +# Defaults to hiera('nova_os_tenant_name') # # [*step*] # (Optional) The current step of the deployment # Defaults to hiera('step') # class tripleo::profile::base::neutron::agents::nuage ( - $nova_os_tenant_name = hiera('nova::api::admin_tenant_name', ''), - $nova_os_password = hiera('nova_password', ''), - $nova_metadata_ip = hiera('nova_metadata_node_ips', ''), - $nova_auth_ip = hiera('keystone_public_api_virtual_ip', ''), - $step = hiera('step'), + $nova_auth_ip = hiera('keystone_public_api_virtual_ip', ''), + $nova_metadata_ip = hiera('nova_metadata_node_ips', ''), + $nova_os_password = hiera('nova_password', ''), + $nova_os_tenant_name = hiera('nova::api::admin_tenant_name', ''), + $step = hiera('step'), ) { - if $step >= 4 { - include ::nuage::vrs class { '::nuage::metadataagent': @@ -56,7 +54,5 @@ class tripleo::profile::base::neutron::agents::nuage ( nova_metadata_ip => $nova_metadata_ip, nova_auth_ip => $nova_auth_ip, } - } - } -- cgit 1.2.3-korg