Itamae plugin recipe Certbot

This gem is an Itamae plugin for getting the Let's Encrypt certificates with Certbot.

Installation

Add this line to your application's Gemfile:

gem 'itamae-plugin-recipe-certbot'

And then execute bundle. Or install it yourself as gem install itamae-plugin-recipe-certbot.

Support

Contributions are welcome for other platforms.

Usage

Recipe

include_recipe "certbot::get"

Node

node.yml:

certbot:
  domains:
    - test.example.com
    - test2.example.com
  email: [email protected]
  webroot_path: /var/www/example
itamae -y node.yml

Other attributes are set to defaults as in lib/itamae/plugin/recipe/certbot/get.rb. Note that process of the port selected by challenge_type needs to be stopped.

License

The gem is available as open source under the terms of the MIT License.