Skip to content

Commit a40a545

Browse files
authored
Fix local letsencrypt (#389)
* local-dev: ensure pebble can access salt-master on the correct network Something changed in networking that caused salt-master.vagrant.psf.io to resolve on the .60 address which emulates the "public network". Since salt-master's pebble service is firewalled on that network, local pebble wasn't working * move to shared `lego` state rather than each user
1 parent a01b900 commit a40a545

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

salt/tls/lego.sls

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
include:
22
- nginx
33

4+
{% if pillar["dc"] == "vagrant" %}
5+
salt-master:
6+
host.present:
7+
- ip: 192.168.50.2
8+
- names:
9+
- salt-master.vagrant.psf.io
10+
- salt-master
11+
{% endif %}
12+
413
crypto_packages:
514
pkg.installed:
615
- pkgs:

0 commit comments

Comments
 (0)