summaryrefslogtreecommitdiff
path: root/lib/chef/resource/openssl_x509_certificate.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-16 16:38:02 -0800
committerTim Smith <tsmith@chef.io>2018-11-16 16:38:02 -0800
commitf79e5f24488e59ce7c38b059e3a74af143d63e33 (patch)
tree1f7c198d50fc8c961d2b5cb5a9b3c9f5f19d7df4 /lib/chef/resource/openssl_x509_certificate.rb
parent8d775f39f480a3f64aa15207c400a78d3b12c9ec (diff)
downloadchef-f79e5f24488e59ce7c38b059e3a74af143d63e33.tar.gz
Allow Integers for all group / owner properties
We did for many of them, but not all. Many of these should get switched over to securable, but this is a solid first step to give a more consistent user experience. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/openssl_x509_certificate.rb')
-rw-r--r--lib/chef/resource/openssl_x509_certificate.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/openssl_x509_certificate.rb b/lib/chef/resource/openssl_x509_certificate.rb
index 1b7ade0a7a..71a1f8d6d7 100644
--- a/lib/chef/resource/openssl_x509_certificate.rb
+++ b/lib/chef/resource/openssl_x509_certificate.rb
@@ -34,10 +34,10 @@ class Chef
description: "An optional property for specifying the path to write the file to if it differs from the resource block's name.",
name_property: true
- property :owner, String,
+ property :owner, [String, Integer],
description: "The owner applied to all files created by the resource."
- property :group, String,
+ property :group, [String, Integer],
description: "The group ownership applied to all files created by the resource."
property :expire, Integer,