diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-28 19:48:49 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-31 12:37:27 -0700 |
commit | 70c0f211b7e3268b6f17674d6505ef2d30752a28 (patch) | |
tree | bd38da8490886b19afca29a9695adb799ea50407 | |
parent | f160aa4d03df21e6d127ebd38df031afaac1634b (diff) | |
download | chef-70c0f211b7e3268b6f17674d6505ef2d30752a28.tar.gz |
header property: Don't default to nil or accept nil
This is a old legacy leftover from LWRP-land
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/dmg_package.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/dmg_package.rb b/lib/chef/resource/dmg_package.rb index 7719dda96a..678e251795 100644 --- a/lib/chef/resource/dmg_package.rb +++ b/lib/chef/resource/dmg_package.rb @@ -71,9 +71,9 @@ class Chef description: "Specify whether to accept the EULA. Certain dmgs require acceptance of EULA before mounting.", default: false, desired_state: false - property :headers, [Hash, nil], + property :headers, Hash, description: "Allows custom HTTP headers (like cookies) to be set on the remote_file resource.", - default: nil, desired_state: false + desired_state: false property :allow_untrusted, [TrueClass, FalseClass], description: "Allow installation of packages that do not have trusted certificates.", |