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

View File

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