From 20d7a4b0df19d020c60c7dfba5ce2877256e4942 Mon Sep 17 00:00:00 2001 From: Andrey Nikitin Date: Mon, 21 Mar 2016 11:50:52 +0300 Subject: [PATCH] Order of the class 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: I6620fb9d5f1ec867c6af4e900094c97735fe8fcb --- manifests/init.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 56721eb..ec5bb7a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,14 +1,14 @@ # == Class: gerritbot # class gerritbot( + $channel_file, $nick, $password, $server, $user, - $channel_file, - $vhost_name = $::fqdn, - $ssh_rsa_key_contents = undef, + $ssh_rsa_key_contents = undef, $ssh_rsa_pubkey_contents = undef, + $vhost_name = $::fqdn, ) { include ::pip