diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-28 19:48:49 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-28 19:48:49 -0700 |
commit | aef3252a9a9615d9fcd80af9398dadd3a1e06661 (patch) | |
tree | 3f5bb7bba7b3d714d8a768c27bc742a6cc1449ff /lib | |
parent | 5f91346f94c9418e8eea7cb524d2a75618f8759d (diff) | |
download | chef-aef3252a9a9615d9fcd80af9398dadd3a1e06661.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>
Diffstat (limited to 'lib')
-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.", |