Page MenuHomeDevCentral

D3501.id9010.diff
No OneTemporary

D3501.id9010.diff

diff --git a/roles/core/certificates/letsencrypt.sls b/roles/core/certificates/letsencrypt.sls
--- a/roles/core/certificates/letsencrypt.sls
+++ b/roles/core/certificates/letsencrypt.sls
@@ -26,6 +26,17 @@
- user: root
- dir_mode: 711
+{% if has_selinux %}
+selinux_context_certbot_www:
+ selinux.fcontext_policy_present:
+ - name: /var/letsencrypt-auto
+ - sel_type: httpd_sys_content_t
+
+selinux_context_certbot_www_applied:
+ selinux.fcontext_policy_applied:
+ - name: /var/letsencrypt-auto
+{% endif %}
+
{{ dirs.etc }}/letsencrypt/cli.ini:
file.managed:
- source: salt://roles/core/certificates/files/cli.ini

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 6, 03:04 (3 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2547452
Default Alt Text
D3501.id9010.diff (648 B)

Event Timeline