summaryrefslogtreecommitdiff
path: root/lib/chef/resource/msu_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/msu_package.rb')
-rw-r--r--lib/chef/resource/msu_package.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/msu_package.rb b/lib/chef/resource/msu_package.rb
index 85ab170ee0..f52cd15196 100644
--- a/lib/chef/resource/msu_package.rb
+++ b/lib/chef/resource/msu_package.rb
@@ -1,6 +1,6 @@
#
# Author:: Nimisha Sharad (<nimisha.sharad@msystechnologies.com>)
-# Copyright:: Copyright 2008-2016, Chef Software, Inc.
+# Copyright:: Copyright 2008-2019, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -39,7 +39,7 @@ class Chef
uri_scheme?(s) ? s : Chef::Util::PathHelper.canonical_path(s, false)
end
end),
- default: lazy { |r| r.package_name }
+ default: lazy { package_name }
property :checksum, String, desired_state: false
end
end