From 0261c1d575caaa17ab7cfa162491fc0a7d82bd39 Mon Sep 17 00:00:00 2001 From: Thomas Van Doren Date: Fri, 15 Jun 2012 15:54:32 -0700 Subject: Fix spacing to meet puppet style guide and update new param defaults. The purge, replace, and recurselimit defaults are now undef. --- manifests/file.pp | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/manifests/file.pp b/manifests/file.pp index bdf99bb..812aa0c 100644 --- a/manifests/file.pp +++ b/manifests/file.pp @@ -9,30 +9,30 @@ # Usage: # define tftp::file ( - $ensure = file, - $recurse = false, - $purge = false, - $replace = true, - $recurselimit = false, - $owner = 'tftp', - $group = 'tftp', - $mode = '0644', - $content = undef, - $source = undef + $ensure = file, + $recurse = false, + $purge = undef, + $replace = undef, + $recurselimit = undef, + $owner = 'tftp', + $group = 'tftp', + $mode = '0644', + $content = undef, + $source = undef ) { include 'tftp' file { "${tftp::directory}/${name}": - ensure => $ensure, - recurse => $recurse, - purge => $purge, - replace => $replace, + ensure => $ensure, + recurse => $recurse, + purge => $purge, + replace => $replace, recurselimit => $recurselimit, - owner => $owner, - group => $group, - mode => $mode, - content => $content, - source => $source, - require => Class['tftp'], + owner => $owner, + group => $group, + mode => $mode, + content => $content, + source => $source, + require => Class['tftp'], } } -- cgit v1.2.3