Page MenuHomeDevCentral

D3091.id7892.diff
No OneTemporary

D3091.id7892.diff

diff --git a/roles/core/salt/files/rc.conf b/roles/core/salt/files/rc.conf
new file mode 100644
--- /dev/null
+++ b/roles/core/salt/files/rc.conf
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Salt — rc configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/salt/files/rc.conf
+# -------------------------------------------------------------
+#
+# <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>
+
+salt_minion_enable="YES"
diff --git a/roles/core/salt/init.sls b/roles/core/salt/init.sls
--- a/roles/core/salt/init.sls
+++ b/roles/core/salt/init.sls
@@ -14,6 +14,16 @@
- name: roles
- value: {{ salt['node.get_list']("roles") }}
+# -------------------------------------------------------------
+# Service
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% if grains['os'] == 'FreeBSD' %}
+/etc/rc.conf.d/salt_minion:
+ file.managed:
+ - source: salt://roles/core/salt/files/rc.conf
+{% endif %}
+
# -------------------------------------------------------------
# Vault
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 01:26 (1 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249972
Default Alt Text
D3091.id7892.diff (1 KB)

Event Timeline