Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56390587
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/mailserver/dkim/init.sls b/roles/mailserver/dkim/init.sls
index 19d8128..b551c44 100644
--- a/roles/mailserver/dkim/init.sls
+++ b/roles/mailserver/dkim/init.sls
@@ -1,11 +1,12 @@
# -------------------------------------------------------------
# Salt — OpenDKIM configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
include:
- .software
- .account
- .config
+ - .service
diff --git a/roles/mailserver/dkim/service.sls b/roles/mailserver/dkim/service.sls
index d07a953..ede109a 100644
--- a/roles/mailserver/dkim/service.sls
+++ b/roles/mailserver/dkim/service.sls
@@ -1,26 +1,26 @@
# -------------------------------------------------------------
# Salt — OpenDKIM configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-01-14
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-{% from "map.jinja" import dirs with context %}
+{% from "map.jinja" import dirs, services with context %}
# -------------------------------------------------------------
# OpenDKIM service
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if services["manager"] == "rc" %}
/etc/rc.conf.d/milter-opendkim:
file.managed:
- source: salt://roles/mailserver/dkim/files/rc/milteropendkim.conf
- template: jinja
- context:
user: opendkim
group: mail
config: {{ dirs.etc }}/opendkim/opendkim.conf
{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 7, 17:29 (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4241586
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment