diff options
author | sersut <serdar@opscode.com> | 2013-05-20 15:32:15 -0700 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2013-05-20 15:32:15 -0700 |
commit | 669bb5913611ebe4838afee4c120d0006d289646 (patch) | |
tree | 7243d34fb1d79cd3a8f5f8bfc66a422c61b3acd8 /lib/chef/resource/file.rb | |
parent | 622b857c2dd1d06392a99ff10812b2acf721e0c5 (diff) | |
download | chef-669bb5913611ebe4838afee4c120d0006d289646.tar.gz |
Rename file config parameters to be file_atomic_update & file_staging_uses_destdir
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r-- | lib/chef/resource/file.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb index 3d165017ff..31b08e826d 100644 --- a/lib/chef/resource/file.rb +++ b/lib/chef/resource/file.rb @@ -47,7 +47,7 @@ class Chef @allowed_actions.push(:create, :delete, :touch, :create_if_missing) @provider = Chef::Provider::File @binmode = Platform.windows? ? true : false - @deploy_with = Chef::Config[:file_deploy_with] + @atomic_update = Chef::Config[:file_atomic_update] @force_unlink = false @diff = nil end @@ -101,9 +101,9 @@ class Chef ) end - def deploy_with(arg=nil) + def atomic_update(arg=nil) set_or_return( - :deploy_with, + :atomic_update, arg, :equal_to => [ :move, :copy ] ) |