Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F14040401
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/core/userland-software/init.sls b/roles/core/userland-software/init.sls
index d99efe3..0a792a0 100644
--- a/roles/core/userland-software/init.sls
+++ b/roles/core/userland-software/init.sls
@@ -1,68 +1,70 @@
# -------------------------------------------------------------
# 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 with context %}
# -------------------------------------------------------------
# Software sources
# -------------------------------------------------------------
{% if grains['os'] == 'CentOS' %}
epel-release:
pkg.installed
/etc/yum.repos.d/nasqueron.repo:
file.managed:
- source: salt://roles/core/userland-software/files/nasqueron.repo
{% endif %}
# -------------------------------------------------------------
# Shells
# -------------------------------------------------------------
shells:
pkg.installed:
- pkgs:
- bash
- zsh
- {% if grains['os'] != 'FreeBSD' %}
+ {% if grains['os'] == 'FreeBSD' %}
+ - starship
+ {% else %}
- 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
# -------------------------------------------------------------
# tmux
# -------------------------------------------------------------
tmux:
pkg.installed
/root/.tmux.conf:
file.managed:
- source: salt://roles/core/userland-software/files/tmux.conf
# -------------------------------------------------------------
# System administration utilities
# -------------------------------------------------------------
sysadmin_utilities:
pkg.installed:
- pkgs:
- tree
- wget
{% if grains['os'] != 'FreeBSD' %}
- {{ packages.netcat }}
{% endif %}
{% if grains['os_family'] == 'RedHat' %}
- psmisc
{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 28, 17:41 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3209065
Default Alt Text
(2 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment