forked from martinhoefling/letsencrypt-formula
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from netmanagers/master
update to good-citizen defaults
- Loading branch information
Showing
11 changed files
with
75 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
######################################################################## | ||
# File managed by Salt at <{{ source }}>. | ||
# Your changes will be overwritten. | ||
######################################################################## | ||
{%- if config is string %} | ||
{{ config }} | ||
{%- else %} | ||
{%- for k, v in config.items() %} | ||
{{ k }} = {{ v }} | ||
{%- endfor %} | ||
{%- endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,4 @@ | |
# vim: ft=yaml | ||
--- | ||
RedHat: | ||
pkgs: | ||
- python2-certbot-apache | ||
service: certbot-renew.timer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=yaml | ||
# | ||
# Setup variables using grains['os'] based logic. | ||
# You just need to add the key:values for an `os` that differ | ||
# from `defaults.yaml` + `osarch.yaml` + `os_family.yaml`. | ||
# Only add an `os` which is/will be supported by the formula. | ||
# | ||
# If you do not need to provide defaults via the `os` grain, | ||
# you will need to provide at least an empty dict in this file, e.g. | ||
# osmap: {} | ||
--- | ||
# os_family: RedHat | ||
Amazon: | ||
pkgs: | ||
- python2-certbot-apache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,27 @@ letsencrypt: | |
# have specific version of certbot you can enable it. The version value | ||
# should match a certbot/certbot branch. | ||
version: 0.30.x | ||
config: | | ||
server = https://acme-v01.api.letsencrypt.org/directory | ||
email = [email protected] | ||
authenticator = webroot | ||
webroot-path = /var/lib/www | ||
agree-tos = True | ||
renew-by-default = True | ||
# Any parameter from the cli can be specified in the config file | ||
# check https://certbot.eff.org/docs/using.html#configuration-file | ||
config: | ||
server: https://acme-v02.api.letsencrypt.org/directory | ||
email: [email protected] | ||
authenticator: webroot | ||
webroot-path: /var/lib/www | ||
agree-tos: true | ||
keep-until-expiring: true | ||
expand: true | ||
# For backward compatibility, config can be passed as a string | ||
# (although it's discouraged, as this format might be dropped in a future | ||
# release) | ||
# config: | | ||
# server = https://acme-v01.api.letsencrypt.org/directory | ||
# email = [email protected] | ||
# authenticator = webroot | ||
# webroot-path = /var/lib/www | ||
# agree-tos = True | ||
# keep-until-expiring = True | ||
# expand = True | ||
config_dir: | ||
path: /etc/letsencrypt | ||
user: root | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ | |
--- | ||
letsencrypt: | ||
use_package: true | ||
config: | | ||
server = https://acme-staging.api.letsencrypt.org/directory | ||
email = [email protected] | ||
authenticator = webroot | ||
webroot-path = /var/www/html | ||
agree-tos = true | ||
renew-by-default = true | ||
config: | ||
server: https://acme-staging.api.letsencrypt.org/directory | ||
email: [email protected] | ||
authenticator: webroot | ||
webroot-path: /var/www/html | ||
agree-tos: true | ||
renew-by-default: true | ||
domainsets: | ||
www: | ||
- letsencrypt-formula.example.com |