summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-08-27 10:35:49 -0700
committerTim Smith <tsmith@chef.io>2018-08-27 10:35:49 -0700
commit61e2866a8f597c4ae92963e56426b3eda89f0225 (patch)
tree02e28717f8dab6b80bb49a5dc0aeab72765f629e
parent284530decad1e73a1cf52882638151b56854383b (diff)
downloadchef-61e2866a8f597c4ae92963e56426b3eda89f0225.tar.gz
Make sure the cookbook properly wins with openssl_x509
The comment was right but the code was wrong Signed-off-by: Tim Smith <tsmith@chef.io>
-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 00058f65d0..118933e186 100644
--- a/lib/chef/resource/openssl_x509_certificate.rb
+++ b/lib/chef/resource/openssl_x509_certificate.rb
@@ -24,7 +24,7 @@ class Chef
preview_resource true
resource_name :openssl_x509_certificate
- provides(:openssl_x509) { true } # legacy cookbook name. Cookbook will win. @todo Make this true in Chef 15
+ provides(:openssl_x509) { false } # legacy cookbook name. Cookbook will win. @todo Make this true in 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"