+1, although the "will not delete directories" isn't true if you add 'recurse => true'. I'd just remove that note.
On Nov 4, 2008, at 3:33 PM, Tim Harper wrote: > > --- > lib/puppet/type/file/ensure.rb | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/lib/puppet/type/file/ensure.rb b/lib/puppet/type/file/ > ensure.rb > index a9ddc2d..02f5ee1 100755 > --- a/lib/puppet/type/file/ensure.rb > +++ b/lib/puppet/type/file/ensure.rb > @@ -2,11 +2,11 @@ module Puppet > Puppet.type(:file).ensurable do > require 'etc' > desc "Whether to create files that don't currently exist. > - Possible values are *absent*, *present* (will match any > form of > - file existence, and if the file is missing will create > an empty > - file), *file*, and *directory*. Specifying ``absent`` > will delete > - the file, although currently this will not recursively > delete > - directories. > + Possible values are *absent*, *present*, *file*, and > *directory*. > + Specifying ``present`` will match any form of file > existence, and > + if the file is missing will create an empty file. > Specifying > + ``absent`` will delete the file, although currently > this will not > + recursively delete directories. > > Anything other than those values will be considered to > be a symlink. > For instance, the following text creates a link:: > -- > 1.6.0.3 > > > > -- I happen to feel that the degree of a person's intelligence is directly reflected by the number of conflicting attitudes she can bring to bear on the same topic. -- Lisa Alther --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---