Nigel Kersten: > The file{} type can do all of the following: > > * manage single files > * manage directories > * manage symlinks > * manage recursive file copies
I tend to use different defaults for the different types, so I would love to be able to do: File { mode => 0444 } Directory { mode => 0555 } (I use read-only status as a final safety net for sysadmins who run "sudo vi <file>" on something managed by puppet) ...and leave Symlink types alone (since that all-bits-high mode is one of the ways I pick them out in an ls -l lineup sometimes, and is probably functionally significant somehow). And as was mentioned elsewhere, the recursive copy off of the file server is probably the quirkiest use of File resources. -- "Forget the damned motor car and build cities for lovers and friends." -- Lewis Mumford -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.