Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F23673545
D3905.id10119.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3905.id10119.diff
View Options
diff --git a/roles/core/certificates/acmesh.sls b/roles/core/certificates/acmesh.sls
--- a/roles/core/certificates/acmesh.sls
+++ b/roles/core/certificates/acmesh.sls
@@ -10,9 +10,17 @@
{% set certificates = pillar.get("certificates", []) %}
{% set certificates_options = pillar.get("certificates_options", {}) %}
+# -------------------------------------------------------------
+# Software
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
acme.sh:
pkg.installed
+# -------------------------------------------------------------
+# Certificates directories
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
/var/certificates:
file.directory:
- user: acme
@@ -50,6 +58,10 @@
{% endfor %}
+# -------------------------------------------------------------
+# Logs
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
/usr/local/etc/newsyslog.conf.d/acme.sh.conf:
file.managed:
- source: salt://roles/core/certificates/files/acmesh/syslog.conf
@@ -59,6 +71,10 @@
- name: newsyslog -NC
- creates: /var/log/acme.sh.log
+# -------------------------------------------------------------
+# Auto-renew helper scripts
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
/usr/local/etc/cron.d/acmesh:
file.managed:
- source: salt://roles/core/certificates/files/acmesh/acme.sh.cron
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 7, 00:27 (9 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3429521
Default Alt Text
D3905.id10119.diff (1 KB)
Attached To
Mode
D3905: Divide acmesh stanza into sections
Attached
Detach File
Event Timeline
Log In to Comment