diff --git a/roles/core/userland-software/init.sls b/roles/core/userland-software/init.sls index ca8eb82..e014581 100644 --- a/roles/core/userland-software/init.sls +++ b/roles/core/userland-software/init.sls @@ -1,62 +1,65 @@ # ------------------------------------------------------------- # 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 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' %} - 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' %} + - nc + {% endif %}