Page MenuHomeDevCentral

D1976.diff
No OneTemporary

D1976.diff

diff --git a/roles/devserver/mail/files/sendmail.rc b/roles/devserver/mail/files/sendmail.rc
new file mode 100644
--- /dev/null
+++ b/roles/devserver/mail/files/sendmail.rc
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Sendmail — rc configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/devserver/mail/files/sendmail.rc
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+sendmail_enable="YES"
diff --git a/roles/devserver/mail/init.sls b/roles/devserver/mail/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/devserver/mail/init.sls
@@ -0,0 +1,19 @@
+# -------------------------------------------------------------
+# Salt — Provision a development server
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-10-30
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Enable incoming mail (T1317)
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% if grains['os'] == 'FreeBSD' %}
+
+/etc/rc.conf.d/sendmail:
+ file.managed:
+ - source: salt://roles/devserver/mail/files/sendmail.rc
+
+{% endif %}

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 19, 17:49 (6 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2585425
Default Alt Text
D1976.diff (1 KB)

Event Timeline