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:
parent
b6e8639f67
commit
1f6efd534c
@ -4,10 +4,10 @@ define logrotate::file (
|
|||||||
$log,
|
$log,
|
||||||
$options,
|
$options,
|
||||||
$ensure = present,
|
$ensure = present,
|
||||||
$prerotate='undef',
|
|
||||||
$postrotate='undef',
|
|
||||||
$firstaction = 'undef',
|
$firstaction = 'undef',
|
||||||
$lastaction = 'undef',
|
$lastaction = 'undef',
|
||||||
|
$postrotate = 'undef',
|
||||||
|
$prerotate = 'undef',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
# $options should be an array containing 1 or more logrotate
|
# $options should be an array containing 1 or more logrotate
|
||||||
|
Loading…
Reference in New Issue
Block a user