From f2f2ee5c070f5f25273993b2ebf1c5b1eb168535 Mon Sep 17 00:00:00 2001 From: Andrey Nikitin Date: Mon, 21 Mar 2016 18:26:45 +0300 Subject: [PATCH] Order of the classes parameters is refactored Order and intendation of those parameters are changed to follow Puppet Style Guide recommendation [0]. Moreover, it will allow to an user to find much faster a variable in a list of variables. [0]. https://docs.puppetlabs.com/guides/style_guide.html Change-Id: I54071ce317178febf2e28e11858a247ba2f070fe --- manifests/init.pp | 2 +- manifests/site.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 1005e99..a854164 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -15,9 +15,9 @@ # Class: releasestatus # class releasestatus ( + $releasestatus_gerrit_ssh_key = undef, $releasestatus_prvkey_contents = undef, $releasestatus_pubkey_contents = undef, - $releasestatus_gerrit_ssh_key = undef, ) { if ! defined(Package['python-launchpadlib']) { package { 'python-launchpadlib': diff --git a/manifests/site.pp b/manifests/site.pp index 1f2c843..1e522c2 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -16,7 +16,7 @@ # define releasestatus::site( $configfile = 'integrated.yaml', - $httproot = '/srv/static/release', + $httproot = '/srv/static/release', ) { file { "/var/lib/releasestatus/${configfile}":