aboutsummaryrefslogtreecommitdiff
path: root/manifests/file.pp
diff options
context:
space:
mode:
authorThomas Van Doren <thomas.vandoren@gmail.com>2012-06-15 15:54:32 -0700
committerThomas Van Doren <thomas.vandoren@gmail.com>2012-06-15 15:54:32 -0700
commit0261c1d575caaa17ab7cfa162491fc0a7d82bd39 (patch)
tree729c60731061ba83000317d436e5e5e9fbe84f6e /manifests/file.pp
parent1d2abfa1a9d7d71cddc9d766c0f0ec89dd38e59c (diff)
downloadpuppet-tftp-0261c1d575caaa17ab7cfa162491fc0a7d82bd39.tar.gz
puppet-tftp-0261c1d575caaa17ab7cfa162491fc0a7d82bd39.tar.bz2
Fix spacing to meet puppet style guide and update new param defaults.
The purge, replace, and recurselimit defaults are now undef.
Diffstat (limited to 'manifests/file.pp')
-rw-r--r--manifests/file.pp40
1 files 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'],
}
}