Re: [Puppet Users] file management

2013-12-31 Thread David Arroyo
See the 'recurse' and 'purge' parameters of the file type. http://docs.puppetlabs.com/references/latest/type.html#file file{'/root/mydir': ensure => directory, recurse => true, purge => true, } file{['/root/mydir/a','/root/mydir/b','/root/mydir/c

[Puppet Users] file management

2013-12-31 Thread amogh patel
Hi, I need to manage some files in a directory. Lets say, /root/mydir can contain only file a,b & c and rest others should be discarded. How can I maintain it with Puppet code? Thanks, amogh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To