summaryrefslogtreecommitdiffstats
path: root/theos/certs/theos_kyriasis_com.sls
blob: ae3a3e03eb619d547f77c83f9eac8c4aa7e7fe8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
include:
  - nginx

theos.kyriasis.com:
  acme.cert:
    - email: johannes@kyriasis.com
    - webroot: /srv/http/
    - keysize: 4096
    - renew: 30

    - watch_in:
      - service: nginx_service
    - require_in:
      - service: nginx_service


/etc/smtpd/certs/fullchain.pem:
  file.managed:
    - source: /etc/letsencrypt/live/theos.kyriasis.com/fullchain.pem
    - user: root
    - group: root
    - mode: 600
    - watch_in:
        - service: opensmtpd

/etc/smtpd/certs/privkey.pem:
  file.managed:
    - source: /etc/letsencrypt/live/theos.kyriasis.com/privkey.pem
    - user: root
    - group: root
    - mode: 600


ldap-access-theos:
  acl.present:
    - name: /etc/letsencrypt/archive/theos.kyriasis.com/
    - acl_type: user
    - acl_name: ldap
    - perms: r-x
    - recurse: True
    - require_in:
      - acme: theos.kyriasis.com

znc-access-theos:
  acl.present:
    - name: /etc/letsencrypt/archive/theos.kyriasis.com/
    - acl_type: user
    - acl_name: znc
    - perms: r-x
    - recurse: True
    - require_in:
      - acme: theos.kyriasis.com

kyrias-access-theos:
  acl.present:
    - name: /etc/letsencrypt/archive/theos.kyriasis.com/
    - acl_type: user
    - acl_name: kyrias
    - perms: r-x
    - recurse: True
    - require_in:
      - acme: theos.kyriasis.com


# vim: set ft=yaml et: