Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Commit

Permalink
chef 13 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec Hartung committed Nov 29, 2017
1 parent bb5fc74 commit 52aaae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/bind_certificate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def verifyCertificateIsBindable(certificateInfo)
currentHash = getCurrentCertificateHash(certificateInfo)
currentAppGuid = getCurrentApplicationGuid(certificateInfo)
currentIpAddress = getCurrentIpAddress = getCurrentIpAddress(certificateInfo)
if(currentHash != @new_resource.hash ||
if(currentHash != @new_resource.certhash ||
currentAppGuid != @new_resource.app_guid ||
currentIpAddress != @new_resource.ip_address)
raise "There is already a certificate bound to port #{@new_resource.port}. Conflicting certificate info:\n" + certificateInfo
Expand Down

0 comments on commit 52aaae4

Please sign in to comment.