Page MenuHomeDevCentral

D1183.id3029.diff
No OneTemporary

D1183.id3029.diff

diff --git a/roles/core/sysctl/files/sysctl.conf b/roles/core/sysctl/files/sysctl.conf
new file mode 100644
--- /dev/null
+++ b/roles/core/sysctl/files/sysctl.conf
@@ -0,0 +1,22 @@
+# -------------------------------------------------------------
+# Kernel state configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-11-06
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/sysctl/files/sysctl.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>
+
+# -------------------------------------------------------------
+# VFS — kernel interface to file systems
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+# Allow user to mount disks (required by FUSE or PEFS)
+vfs.usermount=1
diff --git a/roles/core/sysctl/init.sls b/roles/core/sysctl/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/core/sysctl/init.sls
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Salt — Kernel state
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-11-06
+# License: Trivial work, not eligible to copyright
+#
+# -------------------------------------------------------------
+
+{% if grains['os'] == 'FreeBSD' %}
+
+/etc/sysctl.conf:
+ file.managed:
+ - source: salt://roles/core/sysctl/files/sysctl.conf
+
+{% endif %}
diff --git a/top.sls b/top.sls
--- a/top.sls
+++ b/top.sls
@@ -15,6 +15,7 @@
- roles/core/rsyslog
- roles/core/salt
- roles/core/sshd
+ - roles/core/sysctl
'local':
- roles/saltmaster
'ysul':

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 10:46 (15 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2359604
Default Alt Text
D1183.id3029.diff (1 KB)

Event Timeline