cookbook 'certbot-exec-cloudflare', '~> 0.1.0'
certbot-exec-cloudflare (1) Versions 0.1.0 Follow0
Installs/Configures certbot-exec-cloudflare
cookbook 'certbot-exec-cloudflare', '~> 0.1.0', :supermarket
knife supermarket install certbot-exec-cloudflare
knife supermarket download certbot-exec-cloudflare
certbot-exec-cloudflare
This cookbook is a plugin for the certbot-exec
cookbook that adds the certbot-dns-cloudflare
authenticator plugin to certbot
.
Usage
This cookbook is implemented as "library plugin" cookbook. This means it only needs to be included in a cookbook metadata and it will take the appropriate action to modify the certbot_exec
resource.
Include in metadata.rb:
depends 'certbot-exec' depends 'certbot-exec-cloudflare'
Set minimal attributes:
default['certbot-exec-cloudflare']['agree_to_tos'] = true default['certbot-exec-cloudflare']['api-key'] = 'FOOBAR'
Continue using certbot_exec
as usual:
certbot_exec 'foo.example.com'
Attributes
default['certbot-exec-cloudflare'] = {
# This is default to false,
# you must set it to true to denote your acceptance of _their_ TOS
# https://www.cloudflare.com/terms/
agree_to_tos: false,
# (required) CloudFlare Global API key
api_key: 'DEADBEEF',
# CloudFlare email address (optional), defaults to node['certbot-exec']['email']
email: nil,
# path to file with cloudflare email and api key
credentials_path: '/etc/cloudflare-certbot.ini',
# --dns-propagation-seconds cli flag, default is 10
dns_propagation_seconds: 10,
}
Contributing
PRs and issues welcome!
License
The MIT License (MIT)
Copyright (c) 2019 Qubit Renegade
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
certbot-exec-cloudflare CHANGELOG
This file is used to list changes made in each version of the certbot-exec-cloudflare cookbook.
0.1.0
Initial release.
- change 0
- change 1
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 passed this metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number