diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-11-05 22:09:20 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-11-05 22:09:20 +1100 |
commit | dfc055405dd84f6b81ec92e4570c9a13dd9549e6 (patch) | |
tree | 7a91dbf1a36a06e07f6070b2d4b52113b739b5fe | |
parent | 6d7b5ef81d671ad27b4bbcfb5e0065f76209ee7d (diff) | |
download | puppet-dfc055405dd84f6b81ec92e4570c9a13dd9549e6.tar.gz puppet-dfc055405dd84f6b81ec92e4570c9a13dd9549e6.tar.xz puppet-dfc055405dd84f6b81ec92e4570c9a13dd9549e6.zip |
Fixed #1730 - Edited file/ensure.rb docs for clarity
-rwxr-xr-x | lib/puppet/type/file/ensure.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/puppet/type/file/ensure.rb b/lib/puppet/type/file/ensure.rb index a9ddc2dba..3a1a824bd 100755 --- a/lib/puppet/type/file/ensure.rb +++ b/lib/puppet/type/file/ensure.rb @@ -2,11 +2,10 @@ 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 (and directory if recurse => true). Anything other than those values will be considered to be a symlink. For instance, the following text creates a link:: |