aboutsummaryrefslogtreecommitdiff
path: root/manifests/file.pp
diff options
context:
space:
mode:
authorThomas Van Doren <thomas.vandoren@gmail.com>2012-06-15 15:52:04 -0700
committerThomas Van Doren <thomas.vandoren@gmail.com>2012-06-15 15:52:04 -0700
commit1d2abfa1a9d7d71cddc9d766c0f0ec89dd38e59c (patch)
treea4afe5b81e66dced777289897b3c5f0be1ac9dd1 /manifests/file.pp
parent8a4da5fb84e3fadf1967ddc43fcdaa172986f07e (diff)
downloadpuppet-tftp-1d2abfa1a9d7d71cddc9d766c0f0ec89dd38e59c.tar.gz
puppet-tftp-1d2abfa1a9d7d71cddc9d766c0f0ec89dd38e59c.tar.bz2
Add purge, replace, and recurselimit params to tftp::file definition.
Diffstat (limited to 'manifests/file.pp')
-rw-r--r--manifests/file.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/file.pp b/manifests/file.pp
index db62c87..bdf99bb 100644
--- a/manifests/file.pp
+++ b/manifests/file.pp
@@ -11,6 +11,9 @@
define tftp::file (
$ensure = file,
$recurse = false,
+ $purge = false,
+ $replace = true,
+ $recurselimit = false,
$owner = 'tftp',
$group = 'tftp',
$mode = '0644',
@@ -22,6 +25,9 @@ define tftp::file (
file { "${tftp::directory}/${name}":
ensure => $ensure,
recurse => $recurse,
+ purge => $purge,
+ replace => $replace,
+ recurselimit => $recurselimit,
owner => $owner,
group => $group,
mode => $mode,