You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a file at libraries/acme_dns.rb with the content from the readme file defining the install_dns_challenge method and remove_dns_challenge. Using in my recipe with resource acme_certificate.
Failure/Error: ChefSpec::SoloRunner.new(platform: 'ubuntu', version: '22.04').converge(described_recipe)
NoMethodError:
undefined method `install_dns_challenge' for Custom resource acme_certificate from cookbook acme
raise NoMethodError, "undefined method `#{method_symbol}' for #{self.class}"
^^^^^
chef --version
Chef Workstation version: 24.4.1064
Test Kitchen version: 3.6.0
Cookstyle version: 7.32.8
Chef Infra Client version: 18.4.12
Chef InSpec version: 5.22.40
Chef CLI version: 5.6.14
Chef Habitat version: 1.6.652
I am new to chef and ruby. Perhaps I am not getting how the helper method is supposed to be used.
The text was updated successfully, but these errors were encountered:
chekkan
changed the title
Cannot get the dns challenge working following the steps on README.md
Cannot get the dns verification working following the steps on README.md
Jun 13, 2024
I've got a file at
libraries/acme_dns.rb
with the content from the readme file defining theinstall_dns_challenge
method andremove_dns_challenge
. Using in my recipe with resourceacme_certificate
.But, I am getting the following error...
I am new to chef and ruby. Perhaps I am not getting how the helper method is supposed to be used.
The text was updated successfully, but these errors were encountered: