workstation formula for fedora
This commit is contained in:
26
workstation/vscode.sls
Normal file
26
workstation/vscode.sls
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user