summaryrefslogtreecommitdiff
path: root/lib/chef/resource/openssl_dhparam.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-08-30 11:37:26 -0700
committerTim Smith <tsmith@chef.io>2018-08-31 17:17:24 -0700
commit58c45a4231e2a810c39d7bb74cbcfbf725fa17f5 (patch)
treeffadc470c60281ea626623a3a029eebd1a17311c /lib/chef/resource/openssl_dhparam.rb
parentf6e2f46325d906e4d8a569826db28fa561de37d0 (diff)
downloadchef-58c45a4231e2a810c39d7bb74cbcfbf725fa17f5.tar.gz
openssl_*: Update property descriptions and remove extra nil types
We allowed String, nil, which is a legacy thing that's not longer necessary. Just make these String. This syncs all the properties with what I just pushed up to the docs site. It cleans up some wording around owner/group properties and fixes typos. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/openssl_dhparam.rb')
-rw-r--r--lib/chef/resource/openssl_dhparam.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/resource/openssl_dhparam.rb b/lib/chef/resource/openssl_dhparam.rb
index 1ad49948e8..3b0d264f8b 100644
--- a/lib/chef/resource/openssl_dhparam.rb
+++ b/lib/chef/resource/openssl_dhparam.rb
@@ -45,11 +45,11 @@ class Chef
description: "The desired Diffie-Hellmann generator.",
default: 2
- property :owner, [String, nil],
- description: "The owner of all files created by the resource."
+ property :owner, String,
+ description: "The owner applied to all files created by the resource."
- property :group, [String, nil],
- description: "The group of all files created by the resource."
+ property :group, String,
+ description: "The group ownership applied to all files created by the resource."
property :mode, [Integer, String],
description: "The permission mode applied to all files created by the resource.",