summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-29 11:30:01 -0700
committerGitHub <noreply@github.com>2018-03-29 11:30:01 -0700
commit8c84b80571a83ad1e2991fcf44241c58bc35ef68 (patch)
treec88bf5d698831f24c52e5fef6dd249ad7818d5db
parentf8a74d90c4c399e9ed90c5beaed6e4e72b36a570 (diff)
parent03e17bed7820ec769a55ed09a1ae19bde6b2466e (diff)
downloadchef-8c84b80571a83ad1e2991fcf44241c58bc35ef68.tar.gz
Merge pull request #7091 from chef/dmg
Fix method missing error in dmg_package
-rw-r--r--lib/chef/resource/dmg_package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/dmg_package.rb b/lib/chef/resource/dmg_package.rb
index f825db804e..4d95532d37 100644
--- a/lib/chef/resource/dmg_package.rb
+++ b/lib/chef/resource/dmg_package.rb
@@ -149,7 +149,7 @@ class Chef
def dmg_file
@dmg_file ||= begin
if new_resource.file.nil?
- "#{Chef::Config[:file_cache_path]}/#{dmg_name}.dmg"
+ "#{Chef::Config[:file_cache_path]}/#{new_resource.dmg_name}.dmg"
else
new_resource.file
end