vagrant-saltlab/salt_content/local/salt/neofetch/init.sls

13 lines
278 B
Text

{% if grains['os_family'] == 'RedHat' %}
install_epel_repo:
pkg.installed:
- name: epel-release
{% endif %}
install_neofetch:
pkg.installed:
- name: neofetch
{% if grains['os_family'] == 'RedHat' %}
- require:
- pkg: install_epel_repo
{% endif %}