summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-08-27 11:39:42 -0700
committerGitHub <noreply@github.com>2018-08-27 11:39:42 -0700
commit5bcfc87454cf5c52281d1cd26bb9796df81b7108 (patch)
treef45ef1dd611d523fc065b15fc0a1995beae6a424 /lib
parent333dcd66675c4b5491142557dd83079d5a327b5a (diff)
parent511ec1722c8a6ab88547220d20fe290f5c9d1f81 (diff)
downloadchef-5bcfc87454cf5c52281d1cd26bb9796df81b7108.tar.gz
Merge pull request #7591 from chef/docs
Be more explicit in disabling provides for openssl_x509
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/resource/openssl_x509_certificate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/openssl_x509_certificate.rb b/lib/chef/resource/openssl_x509_certificate.rb
index c5c73ea7a1..da8867a2a2 100644
--- a/lib/chef/resource/openssl_x509_certificate.rb
+++ b/lib/chef/resource/openssl_x509_certificate.rb
@@ -26,7 +26,7 @@ class Chef
preview_resource true
resource_name :openssl_x509_certificate
- provides(:openssl_x509) { false } # legacy cookbook name. Cookbook will win. @todo Make this true in Chef 15
+ # provides(:openssl_x509) { true } # legacy cookbook name. Cookbook will win for now. @todo Uncomment this for Chef 15
description "Use the openssl_x509_certificate resource to generate signed or self-signed, PEM-formatted x509 certificates. If no existing key is specified, the resource will automatically generate a passwordless key with the certificate. If a CA private key and certificate are provided, the certificate will be signed with them. Note: This resource was renamed from openssl_x509 to openssl_x509_certificate. The legacy name will continue to function, but cookbook code should be updated for the new resource name."
introduced "14.4"