summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-28 19:48:49 -0700
committerTim Smith <tsmith@chef.io>2018-10-28 19:48:49 -0700
commitaef3252a9a9615d9fcd80af9398dadd3a1e06661 (patch)
tree3f5bb7bba7b3d714d8a768c27bc742a6cc1449ff
parent5f91346f94c9418e8eea7cb524d2a75618f8759d (diff)
downloadchef-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>
-rw-r--r--lib/chef/resource/dmg_package.rb4
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.",