From 1d2abfa1a9d7d71cddc9d766c0f0ec89dd38e59c Mon Sep 17 00:00:00 2001 From: Thomas Van Doren Date: Fri, 15 Jun 2012 15:52:04 -0700 Subject: Add purge, replace, and recurselimit params to tftp::file definition. --- manifests/file.pp | 6 ++++++ 1 file changed, 6 insertions(+) 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, -- cgit v1.2.3