workstation formula for fedora

This commit is contained in:
root
2021-02-13 19:25:31 -05:00
parent 539ef686f7
commit cdd882e72c
6 changed files with 210 additions and 0 deletions

26
workstation/vscode.sls Normal file
View File

@@ -0,0 +1,26 @@
---
{% 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