summaryrefslogtreecommitdiff
path: root/lib/chef/resource/file.rb
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-06-03 12:41:00 -0700
committersersut <serdar@opscode.com>2013-06-03 12:41:00 -0700
commit7fee9a0121fc56228a0214390b521a11894ef601 (patch)
tree4c39db0193acaed0f8cd26810b302e4e593720ec /lib/chef/resource/file.rb
parent9364e5b1f82d17530f7a39282dec29e96b4e6fc0 (diff)
downloadchef-7fee9a0121fc56228a0214390b521a11894ef601.tar.gz
Convert file_resource.atomic_update property values to boolean.
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r--lib/chef/resource/file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb
index 43b7b21f2c..879d5f0c86 100644
--- a/lib/chef/resource/file.rb
+++ b/lib/chef/resource/file.rb
@@ -96,7 +96,7 @@ class Chef
set_or_return(
:atomic_update,
arg,
- :equal_to => [ :move, :copy ]
+ :kind_of => [ TrueClass, FalseClass ]
)
end