Skip to content

Commit

Permalink
have salt create the sentinel for letsencrypt health check
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Feb 22, 2023
1 parent 16ff742 commit 0d9f1e2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions salt/base/salt.sls
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ salt-master:
- watch:
- file: /etc/salt/master.d/roles.conf

/etc/lego/.well-known/acme-challenge/sentinel:
file.managed:
- contents: "OK"
- user: root
- group: root
- mode: "0644"
- require:
- sls: tls.lego

/etc/nginx/sites.d/letsencrypt-well-known.conf:
file.managed:
- source: salt://base/config/letsencrypt-well-known-nginx.conf
Expand Down

0 comments on commit 0d9f1e2

Please sign in to comment.