diff options
author | Tim Smith <tsmith@chef.io> | 2018-08-30 11:37:26 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-08-31 17:17:24 -0700 |
commit | 58c45a4231e2a810c39d7bb74cbcfbf725fa17f5 (patch) | |
tree | ffadc470c60281ea626623a3a029eebd1a17311c /lib/chef/resource/openssl_rsa_private_key.rb | |
parent | f6e2f46325d906e4d8a569826db28fa561de37d0 (diff) | |
download | chef-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_rsa_private_key.rb')
-rw-r--r-- | lib/chef/resource/openssl_rsa_private_key.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/resource/openssl_rsa_private_key.rb b/lib/chef/resource/openssl_rsa_private_key.rb index 7155906fd9..f2c1400a30 100644 --- a/lib/chef/resource/openssl_rsa_private_key.rb +++ b/lib/chef/resource/openssl_rsa_private_key.rb @@ -49,11 +49,11 @@ class Chef description: "The designed cipher to use when generating your key. Run `openssl list-cipher-algorithms` to see available options.", default: "des3" - 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.", |