Page MenuHomeDevCentral

D1379.id3522.diff
No OneTemporary

D1379.id3522.diff

diff --git a/roles/core/init.sls b/roles/core/init.sls
--- a/roles/core/init.sls
+++ b/roles/core/init.sls
@@ -16,4 +16,5 @@
- .sudo
- .sysctl
- .timezone
+ - .userland-software
- .users
diff --git a/roles/core/userland-software/init.sls b/roles/core/userland-software/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/core/userland-software/init.sls
@@ -0,0 +1,30 @@
+# -------------------------------------------------------------
+# Salt — Provision software needed by other core roles
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2016-04-09
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import dirs, packages, packages_prefixes with context %}
+
+# -------------------------------------------------------------
+# Shells
+# -------------------------------------------------------------
+
+shells:
+ pkg:
+ - installed
+ - pkgs:
+ - bash
+ - fish
+ - zsh
+ {% if grains['os'] != 'FreeBSD' %}
+ - tcsh
+ {% endif %}
+
+{{ dirs.share }}/zsh/site-functions/_pm:
+ file.managed:
+ # At commit 683d331 - 2017-11-05
+ - source: https://raw.githubusercontent.com/Angelmmiguel/pm/master/zsh/_pm
+ - source_hash: deea33968be713cdbd8385d3a72df2dd09c444e42499531893133f009f0ce0ea
diff --git a/roles/shellserver/userland-software/base.sls b/roles/shellserver/userland-software/base.sls
--- a/roles/shellserver/userland-software/base.sls
+++ b/roles/shellserver/userland-software/base.sls
@@ -8,27 +8,6 @@
{% from "map.jinja" import dirs, packages, packages_prefixes with context %}
-# -------------------------------------------------------------
-# Shells
-# -------------------------------------------------------------
-
-shells:
- pkg:
- - installed
- - pkgs:
- - bash
- - fish
- - zsh
- {% if grains['os'] != 'FreeBSD' %}
- - tcsh
- {% endif %}
-
-/usr/local/share/zsh/site-functions/_pm:
- file.managed:
- # At commit 683d331 - 2017-11-05
- - source: https://raw.githubusercontent.com/Angelmmiguel/pm/master/zsh/_pm
- - source_hash: deea33968be713cdbd8385d3a72df2dd09c444e42499531893133f009f0ce0ea
-
# -------------------------------------------------------------
# Editors
#

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 04:41 (19 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2261846
Default Alt Text
D1379.id3522.diff (2 KB)

Event Timeline