schubergphilis / chef-acme

Chef cookbook to request SSL certificates at Let's Encrypt
Apache License 2.0
112 stars 74 forks source link

Load Error: cannot load such file -- acme-client #94

Closed finferflu closed 5 years ago

finferflu commented 6 years ago

I am using:

Chef Development Kit Version: 2.4.17 chef-client version: 13.6.4 berks version: 6.3.1 kitchen version: 1.19.2 inspec version: 1.45.13

And I get the following error with ChefSpec:

      LoadError:
        cannot load such file -- acme-client
      # /var/folders/2j/k1y8bp_53xz84ss2y5wn337w0000gp/T/chefspec20180313-89745-13lh3hofile_cache_path/cookbooks/acme/recipes/default.rb:27:in `from_file'
      # /var/folders/2j/k1y8bp_53xz84ss2y5wn337w0000gp/T/chefspec20180313-89745-13lh3hofile_cache_path/cookbooks/mail-processor/recipes/default.rb:113:in `from_file'
      # ./spec/unit/recipes/default_spec.rb:37:in `block (3 levels) in <top (required)>'
      # ./spec/unit/recipes/default_spec.rb:154:in `block (3 levels) in <top (required)>'

Am I missing something?

Thank you.

moodwrench commented 5 years ago

Add the acme-client gem to your Gemfile