Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/core/rc/files/locate.rc b/roles/core/rc/files/locate.rc
new file mode 100644
index 0000000..b49bca0
--- /dev/null
+++ b/roles/core/rc/files/locate.rc
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# locate configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/rc/files/locate.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>
+
+PRUNEDIRS=""
diff --git a/roles/core/rc/init.sls b/roles/core/rc/init.sls
index 4af0c43..d0a161d 100644
--- a/roles/core/rc/init.sls
+++ b/roles/core/rc/init.sls
@@ -1,34 +1,38 @@
# -------------------------------------------------------------
# Salt — RC
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2016-06-15
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% set use_zfs = salt['node.has']('zfs:pool') %}
# -------------------------------------------------------------
# IPv6
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if grains['os_family'] == 'Debian' %}
rc:
file.managed:
- name : /etc/rc.local
- source: salt://roles/core/rc/files/rc.local.sh
- mode: 755
{% endif %}
# -------------------------------------------------------------
# Periodic tasks configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if grains['os'] == 'FreeBSD' %}
/etc/periodic.conf:
file.managed:
- source: salt://roles/core/rc/files/periodic.conf
- template: jinja
- context:
use_zfs: {{ use_zfs }}
+
+/etc/locate.rc:
+ file.managed:
+ - source: salt://roles/core/rc/files/locate.rc
{% endif %}

File Metadata

Mime Type
text/x-diff
Expires
Sun, Nov 24, 22:56 (13 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259100
Default Alt Text
(2 KB)

Event Timeline