Files
salt-states/workstation/vscode.sls
2021-02-13 19:25:31 -05:00

27 lines
632 B
Plaintext

---
{% if grains.lsb_distrib_id != 'Fedora' %}
{{ raise('stahp') }}
{% endif %}
google-chrome:
pkgrepo.managed:
- baseurl: http://dl.google.com/linux/chrome/rpm/stable/x86_64
- gpgcheck: true
- gpgkey: https://dl.google.com/linux/linux_signing_key.pub
pkg.installed:
- name: google-chrome-stable
- require:
- pkgrepo: google-chrome
code:
pkgrepo.managed:
- humanname: Visual Studio Code
- baseurl: https://packages.microsoft.com/yumrepos/vscode
- gpgcheck: true
- gpgkey: https://packages.microsoft.com/keys/microsoft.asc
pkg.installed:
- require:
- pkgrepo: code