diff options
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r-- | lib/chef/resource/file.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb index 879d5f0c86..15adb9dae8 100644 --- a/lib/chef/resource/file.rb +++ b/lib/chef/resource/file.rb @@ -48,6 +48,7 @@ class Chef @provider = Chef::Provider::File @atomic_update = Chef::Config[:file_atomic_update] @force_unlink = false + @manage_symlink_source = nil @diff = nil end @@ -108,6 +109,14 @@ class Chef ) end + def manage_symlink_source(arg=nil) + set_or_return( + :manage_symlink_source, + arg, + :kind_of => [ TrueClass, FalseClass ] + ) + end + end end end |