summaryrefslogtreecommitdiff
path: root/lib/chef/resource/file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r--lib/chef/resource/file.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb
index 15adb9dae8..676cbf200a 100644
--- a/lib/chef/resource/file.rb
+++ b/lib/chef/resource/file.rb
@@ -36,6 +36,8 @@ class Chef
state_attrs :checksum, :owner, :group, :mode
end
+ attr_writer :checksum
+
provides :file, :on_platforms => :all
def initialize(name, run_context=nil)