summaryrefslogtreecommitdiffstats
path: root/theos/certs/theos_kyriasis_com.sls
blob: f2da918358bd9dd7cd21d08692d7ccb8a7b299ec (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
66
67
68
69
70
include:
  - nginx

theos.kyriasis.com:
  acme.cert:
    - aliases:
      - v4.theos.kyriasis.com
      - v6.theos.kyriasis.com
    - 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: smtpd

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


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: