summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-07-30 16:31:13 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-07-30 16:31:13 -0700
commitafc5473a1a2a8a8c4c89437dfc590b7a3276feee (patch)
tree4908feb452c5aad4dd3a26d7c85ec57de2f3a8a3
parent7f8d07683421850ce9343ed8b94f109f737216a1 (diff)
downloadchef-afc5473a1a2a8a8c4c89437dfc590b7a3276feee.tar.gz
add comment on magic behavior
-rw-r--r--lib/chef/provider/file.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/file.rb b/lib/chef/provider/file.rb
index 2988902f48..5c3e83ce52 100644
--- a/lib/chef/provider/file.rb
+++ b/lib/chef/provider/file.rb
@@ -304,6 +304,7 @@ class Chef
end
def do_generate_content
+ # referencing the tempfile magically causes content to be generated
tempfile
end