Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3752502
D3091.id7892.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3091.id7892.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 19:11 (19 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249972
Default Alt Text
D3091.id7892.diff (1 KB)
Attached To
Mode
D3091: Enable Salt minion server on FreeBSD nodes
Attached
Detach File
Event Timeline
Log In to Comment