Initial stage of dmarcts support.
This commit is contained in:
parent
27e8fdd5fc
commit
0d2185a673
|
@ -0,0 +1,3 @@
|
|||
dmarcts:
|
||||
user_pw: 'user'
|
||||
mariadb_pw: 'dmarcts'
|
|
@ -10,3 +10,4 @@ base:
|
|||
- secrets/mailman
|
||||
- secrets/smtpauth
|
||||
- secrets/webmail
|
||||
- secrets/dmarcts
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
dmarc:
|
||||
user.present:
|
||||
- fullname: 'DMARC reports'
|
||||
- home: /home/dmarc
|
||||
- shell: /usr/sbin/nologin
|
||||
- system: True
|
||||
- usergroup: True
|
||||
- password: '{{ salt['pillar.get']('dmarcts:user_pw', '') }}'
|
||||
- hash_password: True
|
||||
- enforce_password: False
|
||||
|
||||
dmarcts:
|
||||
pkg.installed:
|
||||
- name: dmarcts-report-parser
|
||||
mysql_user.present:
|
||||
- name: dmarcts
|
||||
- password: '{{ salt['pillar.get']('dmarcts:mariadb_pw', '') }}'
|
||||
mysql_database.present:
|
||||
- name: dmarcts
|
||||
mysql_grants.present:
|
||||
- grant: all privileges
|
||||
- database: dmarcts.*
|
||||
- user: dmarcts
|
|
@ -35,3 +35,4 @@ base:
|
|||
- mailman
|
||||
- mercurial
|
||||
- webmail
|
||||
- dmarc_reports
|
||||
|
|
Loading…
Reference in New Issue