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: I4dd4727f94132ce066d42aa87a246dd39c13553e
This commit is contained in:
Andrey Nikitin 2016-03-21 13:08:38 +03:00
parent b6e8639f67
commit 1f6efd534c
1 changed files with 5 additions and 5 deletions

View File

@ -3,11 +3,11 @@
define logrotate::file (
$log,
$options,
$ensure=present,
$prerotate='undef',
$postrotate='undef',
$firstaction='undef',
$lastaction='undef',
$ensure = present,
$firstaction = 'undef',
$lastaction = 'undef',
$postrotate = 'undef',
$prerotate = 'undef',
) {
# $options should be an array containing 1 or more logrotate