puppetlabs/puppetlabs-tftp — pull request #7 by thomasvandoren (2012-06-05 04:07:33+00:00)
Title: Add recurse parameter to tftp::file definition

Hi there, is there any particular reason to avoid adding the recurse parameter to the tftp::file definition? I found it useful for adding an entire pxelinux.cfg directory to my tftp server. I thought it might be useful to share. Let me know if this has any undesirable implications.

The parameter, when added, allows definitions like the following.

```puppet
tftp::file { 'pxelinux.cfg':
ensure => directory,
recurse => true,
source => 'puppet:///modules/acme/pxelinux.cfg/',
}
```

I also added `/spec/fixtures/modules` to a gitignore file, since I accidentally committed them once.

Thanks!