salt/states/basepkgs/init.sls

46 lines
734 B
Text
Raw Normal View History

2017-08-21 20:33:14 +00:00
{% if grains['os_family'] == 'Arch' %}
2017-08-07 13:25:01 -05:00
nano:
pkg.installed
wget:
pkg.installed
openssh:
pkg.installed
htop:
pkg.installed
git:
pkg.installed
net-tools:
pkg.installed
bind-tools:
pkg.installed
2017-08-21 20:33:14 +00:00
{% elif grains['os_family'] == 'Debian' %}
nano:
pkg.installed
wget:
pkg.installed
openssh-server:
pkg.installed
htop:
pkg.installed
git:
pkg.installed
{% else %}
blarg:
pkg.installed
{% endif %}
2017-08-07 13:25:01 -05:00
#note: bug in current version of saltstack breaks multi-package installs w/ yum. It'll be fixed in next version
#https://github.com/saltstack/salt/issues/28356
#basepkgs:
# pkg.installed:
# - pkgs:
# - nano
# - wget
# - openssh
# - htop
# - git
sshd:
service.running:
- enable: True