From 1f6efd534c78a729e4f418cd34ff92b0d23b9539 Mon Sep 17 00:00:00 2001 From: Andrey Nikitin Date: Mon, 21 Mar 2016 13:08:38 +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: I4dd4727f94132ce066d42aa87a246dd39c13553e --- manifests/file.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/file.pp b/manifests/file.pp index 88df974..3eef1c9 100644 --- a/manifests/file.pp +++ b/manifests/file.pp @@ -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