diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-02-15 13:01:38 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-02-15 13:01:38 -0800 |
commit | b3057cc7f55fadd57e54dba45242f692806bc2ba (patch) | |
tree | 2d4a8511bb6ecb8813e89a9d85c2986673d005a2 /lib/chef/resource/file.rb | |
parent | 7eb9179ed6eaf024f62546001544ea2caa3d184c (diff) | |
download | chef-docs.tar.gz |
Improve automatic docs generationdocs
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r-- | lib/chef/resource/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb index b2bba06185..5cc510571a 100644 --- a/lib/chef/resource/file.rb +++ b/lib/chef/resource/file.rb @@ -81,7 +81,7 @@ class Chef property :manage_symlink_source, [ TrueClass, FalseClass ], desired_state: false, description: "Change the behavior of the file resource if it is pointed at a symlink. When this value is set to true, #{ChefUtils::Dist::Infra::PRODUCT} will manage the symlink's permissions or will replace the symlink with a normal file if the resource has content. When this value is set to false, #{ChefUtils::Dist::Infra::PRODUCT} will follow the symlink and will manage the permissions and content of symlink's target file. The default behavior is true but emits a warning that the default value will be changed to false in a future version; setting this explicitly to true or false suppresses this warning." - property :verifications, Array, default: lazy { [] } + property :verifications, Array, default: [] def verify(command = nil, opts = {}, &block) unless command.nil? || [String, Symbol].include?(command.class) |