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: I0f5942813fc5ddfff0ff6a2c626c506c19e8a0bd
This commit is contained in:
Andrey Nikitin 2016-03-21 18:43:55 +03:00
parent d0bd58c1be
commit 77576b526a
1 changed files with 5 additions and 5 deletions

View File

@ -1,17 +1,17 @@
# == Class: statusbot
#
class statusbot(
$auth_nicks,
$nick,
$password,
$server,
$auth_nicks,
$wiki_user,
$wiki_pageid,
$wiki_password,
$wiki_url,
$wiki_pageid,
$wiki_user,
$channels = [],
$irclogs_url = undef,
$wiki_successpageid = undef,
$irclogs_url = undef,
$channels = [],
) {
user { 'statusbot':