Installing the PPA on ubuntu for neovim

This commit is contained in:
Elijah Lazkani 2017-03-18 03:20:46 -04:00
parent 9537e1ff8e
commit ff550fe8c8

View file

@ -1,12 +1,13 @@
neovim-install:
{% if grains['os'] == 'Ubuntu' %}
pkgrepo.managed:
- ppa: neovim-ppa/stable
{% endif %}
pkg.installed:
{% if grains['kernel'] == 'Darwin' %}
- name: neovim
- taps: 'neovim/neovim'
{% elif grains['kernel'] == 'Linux' %}
- name: neovim
{% if grains['os'] == 'Ubuntu' %}
- ppa: neovim-ppa/stable
{% endif %}
{% endif %}