Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11722297
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
View Options
diff --git a/pillar/core/dirs.sls b/pillar/core/dirs.sls
new file mode 100644
index 0000000..d1a95f8
--- /dev/null
+++ b/pillar/core/dirs.sls
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+# Salt — Canonical directories
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-01-23
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+dirs:
+ {% if grains['os_family'] == 'FreeBSD' %}
+ etc: /usr/local/etc
+ bin: /usr/local/bin
+ include: /usr/local/include
+ lib: /usr/local/lib
+ {% elif grains['kernel'] == 'Linux' %}
+ etc: /etc
+ bin: /usr/bin
+ include: /usr/include
+ lib: /usr/lib
+ {% endif %}
diff --git a/pillar/top.sls b/pillar/top.sls
index 28adf56..6ac85af 100644
--- a/pillar/top.sls
+++ b/pillar/top.sls
@@ -1,16 +1,17 @@
# -------------------------------------------------------------
# Salt configuration for Nasqueron servers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2016-04-10
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
base:
'*':
+ - core.dirs
- core.hostnames
eglide:
- users.revokedusers
- users.shellusers
- users.shelladmins
- users.shellgroups
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Sep 18, 02:07 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2989778
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment