aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Van Doren <thomas.vandoren@gmail.com>2012-06-15 15:56:24 -0700
committerThomas Van Doren <thomas.vandoren@gmail.com>2012-06-15 15:56:24 -0700
commita9bd24d91ec70d7f45874afed64069b5f4aabcd3 (patch)
tree47c4e8313c8e0325e2268e679cae33825c549d05
parent0261c1d575caaa17ab7cfa162491fc0a7d82bd39 (diff)
downloadpuppet-tftp-a9bd24d91ec70d7f45874afed64069b5f4aabcd3.tar.gz
puppet-tftp-a9bd24d91ec70d7f45874afed64069b5f4aabcd3.tar.bz2
Move purge, replace, recurselimit params down.
Owner/group/mode seem to make more sense above these.
-rw-r--r--manifests/file.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/file.pp b/manifests/file.pp
index 812aa0c..ec67f2c 100644
--- a/manifests/file.pp
+++ b/manifests/file.pp
@@ -11,12 +11,12 @@
define tftp::file (
$ensure = file,
$recurse = false,
- $purge = undef,
- $replace = undef,
- $recurselimit = undef,
$owner = 'tftp',
$group = 'tftp',
$mode = '0644',
+ $purge = undef,
+ $replace = undef,
+ $recurselimit = undef,
$content = undef,
$source = undef
) {
@@ -25,12 +25,12 @@ define tftp::file (
file { "${tftp::directory}/${name}":
ensure => $ensure,
recurse => $recurse,
- purge => $purge,
- replace => $replace,
- recurselimit => $recurselimit,
owner => $owner,
group => $group,
mode => $mode,
+ purge => $purge,
+ replace => $replace,
+ recurselimit => $recurselimit,
content => $content,
source => $source,
require => Class['tftp'],