vagrant-saltlab/srv/pillar/pkg/init.sls
John Bowdre 2fb3b6e340 fun with pillars
- map distros to package names
- create users on saltlab minions
- ditch cowsay
- replace nginx with apache (and pull pkg name from pillar data)
2023-03-24 23:11:25 -05:00

11 lines
214 B
Text

pkgs:
{% if grains['os_family'] == 'RedHat' %}
apache: httpd
vim: vim-enhanced
{% elif grains['os_family'] == 'Debian' %}
apache: apache2
vim: vim
{% else %}
apache: apache
vim: vim
{% endif %}