Using the kernel grain to be less specific to a distro on Linux.
This commit is contained in:
parent
4b2f1fe329
commit
be1a92eda1
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
spacemacs:
|
spacemacs:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
{% if grains['os'] == 'MacOS' %}
|
{% if grains['kernel'] == 'Darwin' %}
|
||||||
- name: emacs-plus
|
- name: emacs-plus
|
||||||
- tap: 'd12frosted/emacs-plus'
|
- tap: 'd12frosted/emacs-plus'
|
||||||
{% else %}
|
{% elif grains['kernel'] == 'Linux' %}
|
||||||
- name: emacs
|
- name: emacs
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue