Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3930395
D3090.id7890.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
D3090.id7890.diff
View Options
diff --git a/roles/core/sshd/files/rc.conf b/roles/core/sshd/files/rc.conf
new file mode 100644
--- /dev/null
+++ b/roles/core/sshd/files/rc.conf
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# OpenSSH — rc configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/sshd/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>
+
+sshd_enable="YES"
diff --git a/roles/core/sshd/init.sls b/roles/core/sshd/init.sls
--- a/roles/core/sshd/init.sls
+++ b/roles/core/sshd/init.sls
@@ -24,6 +24,16 @@
sftp: {{ paths.sftp }}
print_motd: {{ not capabilities['MOTD-printed-at-login'] }}
+# -------------------------------------------------------------
+# Service
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% if grains['os'] == 'FreeBSD' %}
+/etc/rc.conf.d/sshd:
+ file.managed:
+ - source: salt://roles/core/sshd/files/rc.conf
+{% endif %}
+
# -------------------------------------------------------------
# PAM
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 13:45 (7 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312558
Default Alt Text
D3090.id7890.diff (1 KB)
Attached To
Mode
D3090: Enable OpenSSH server on FreeBSD nodes
Attached
Detach File
Event Timeline
Log In to Comment