summaryrefslogtreecommitdiffstats
path: root/theos/certs
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-23 19:44:25 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-23 19:44:25 +0000
commitfa26a5a6008735baad4eb982f5e4e09cd0fe22fe (patch)
treedeed05c08763cd3186242b66dbb7dca292d3e853 /theos/certs
parentb661efd0d039ad56ad7b776d5359fc51f5504238 (diff)
downloadfile-fa26a5a6008735baad4eb982f5e4e09cd0fe22fe.tar.xz
theos/certs: Set modes for /etc/letsencrypt/archive
Necessary for eg. smtpd to be happy with the permissions. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/certs')
-rw-r--r--theos/certs/init.sls7
1 files changed, 7 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 0e8c750..9e6647b 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -3,4 +3,11 @@ include:
- .xan_kyriasis_com
- .git_kyriasis_com
+/etc/letsencrypt/archive:
+ file.directory:
+ - makedirs: True
+ - dir_mode: 711
+ - file_mode: 640
+ - recurse:
+ - mode
# vim: set ft=yaml et: