Skip to content

Commit

Permalink
fix lego/pebble
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Apr 11, 2024
1 parent 300bfdf commit 52d04ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions salt/bugs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ lego_bootstrap:
cmd.run:
- name: /usr/local/bin/lego -a --email="[email protected]" {% if pillar["dc"] == "vagrant" %}--server=https://salt-master.vagrant.psf.io:14000/dir{% endif %} --domains="{{ grains['fqdn'] }}" {%- for domain in pillar['bugs']['subject_alternative_names'] %} --domains {{ domain }}{%- endfor %} --http --path /etc/lego --key-type ec256 run
- creates: /etc/lego/certificates/{{ grains['fqdn'] }}.json
- require:
- archive: lego_extract
lego_renew:
cron.present:
Expand Down
2 changes: 1 addition & 1 deletion salt/tls/pebble.sls
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if pillar.get('pebble', default={'enabled': False}).enabled %}
{% if pillar.get('pebble', {'enabled': False}).enabled %}
pebble-build-deps:
pkg.installed:
- pkgs:
Expand Down

0 comments on commit 52d04ed

Please sign in to comment.