diff options
author | Thomas Van Doren <thomas.vandoren@gmail.com> | 2012-06-04 20:45:19 -0700 |
---|---|---|
committer | Thomas Van Doren <thomas.vandoren@gmail.com> | 2012-06-04 20:45:19 -0700 |
commit | 1343de3817ab64b39ccf4d76ab73f1024f3db0a7 (patch) | |
tree | d3af56dbabf6e01b192710508e68cd9d0d409aa7 /manifests | |
parent | 097a1ae83a3f43b639eb3608d3ae83aa33f7b43e (diff) | |
download | puppet-tftp-1343de3817ab64b39ccf4d76ab73f1024f3db0a7.tar.gz puppet-tftp-1343de3817ab64b39ccf4d76ab73f1024f3db0a7.tar.bz2 |
Add recurse option to tftp::file class.
Update rspec tests to assert the value of recurse in various cases.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/file.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/file.pp b/manifests/file.pp index 72c9ebd..db62c87 100644 --- a/manifests/file.pp +++ b/manifests/file.pp @@ -10,6 +10,7 @@ # define tftp::file ( $ensure = file, + $recurse = false, $owner = 'tftp', $group = 'tftp', $mode = '0644', @@ -20,6 +21,7 @@ define tftp::file ( file { "${tftp::directory}/${name}": ensure => $ensure, + recurse => $recurse, owner => $owner, group => $group, mode => $mode, |