This commit is contained in:
parent
8ca47b2f12
commit
813f71d99d
@ -10,7 +10,7 @@ opendkim-config-dir:
|
||||
opendkim-configuration-key:
|
||||
file.managed:
|
||||
- name: {{ opendkim.config.dir }}/{{ opendkim.config.key.name }}
|
||||
- source: salt://opendkim/templates/key.j2
|
||||
- source: salt://opendkim/key.j2
|
||||
- user: {{ opendkim.config.user }}
|
||||
- group: {{ opendkim.config.group }}
|
||||
- mode: 600
|
||||
@ -21,7 +21,7 @@ opendkim-configuration-key:
|
||||
opendkim-trusted-hosts:
|
||||
file.managed:
|
||||
- name: {{ opendkim.config.dir }}/TrustedHosts
|
||||
- source: salt://opendkim/templates/TrustedHosts.j2
|
||||
- source: salt://opendkim/TrustedHosts.j2
|
||||
- user: {{ opendkim.config.user }}
|
||||
- group: {{ opendkim.config.group }}
|
||||
- mode: 644
|
||||
@ -32,7 +32,7 @@ opendkim-trusted-hosts:
|
||||
opendkim-service-defaults:
|
||||
file.managed:
|
||||
- name: {{ opendkim.config.default_file }}
|
||||
- source: salt://opendkim/templates/service_defaults.j2
|
||||
- source: salt://opendkim/service_defaults.j2
|
||||
- user: {{ opendkim.config.user }}
|
||||
- group: {{ opendkim.config.group }}
|
||||
- mode: 644
|
||||
@ -43,7 +43,7 @@ opendkim-service-defaults:
|
||||
opendkim-config-file:
|
||||
file.managed:
|
||||
- name: {{ opendkim.config.file }}
|
||||
- source: salt://opendkim/templates/opendkim.conf.j2
|
||||
- source: salt://opendkim/opendkim.conf.j2
|
||||
- user: {{ opendkim.config.user }}
|
||||
- group: {{ opendkim.config.group }}
|
||||
- mode: 644
|
||||
|
@ -1,9 +1,6 @@
|
||||
---
|
||||
opendkim:
|
||||
enabled: true
|
||||
pkgs:
|
||||
- opendkim
|
||||
- opendkim-tools
|
||||
config:
|
||||
dir: '/etc/opendkim'
|
||||
file: '/etc/opendkim.conf'
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
{%- from "opendkim/map.jinja" import opendkim with context %}
|
||||
include:
|
||||
- .install
|
||||
- .config
|
||||
|
@ -2,4 +2,6 @@
|
||||
{%- from "opendkim/map.jinja" import opendkim with context %}
|
||||
opendkim-pkg:
|
||||
pkg.installed:
|
||||
- pkgs: {{ opendkim.pkgs }}
|
||||
- pkgs:
|
||||
- opendkim
|
||||
- opendkim-tools
|
||||
|
Loading…
Reference in New Issue
Block a user