Finalisation du code
This commit is contained in:
@@ -2,26 +2,24 @@
|
||||
|
||||
{% if grains['kernel'] == 'Linux' %}
|
||||
|
||||
Repository pour Visual Studio Code:
|
||||
VisualStudioCode_Repository:
|
||||
pkgrepo.managed:
|
||||
{% if grains['os_family'] == 'RedHat' %}
|
||||
- humanname: Atom Editor
|
||||
- baseurl: https://packagecloud.io/AtomEditor/atom/el/7/$basearch
|
||||
- humanname: Repository for Microsoft Visual Studio Code Editor
|
||||
- baseurl: 'https://packages.microsoft.com/yumrepos/vscode'
|
||||
- enabled: 1
|
||||
- gpgcheck: 0
|
||||
- repo_gpgcheck: 1
|
||||
- gpgkey: https://packagecloud.io/AtomEditor/atom/gpgkey
|
||||
- gpgkey: https://packages.microsoft.com/keys/microsoft.asc
|
||||
{% elif grains['os_family'] == 'Debian' %}
|
||||
- name: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
|
||||
- humanname: Atom Repository
|
||||
- file: /etc/apt/sources.list.d/atom.list
|
||||
- key_url: https://packagecloud.io/AtomEditor/atom/gpgkey
|
||||
- name: 'deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main'
|
||||
- humanname: Microsoft Visual Studio Code Repository
|
||||
- file: /etc/apt/sources.list.d/MS_VisualStudioCode.list
|
||||
- key_url: https://packages.microsoft.com/keys/microsoft.asc
|
||||
|
||||
{% endif %}
|
||||
|
||||
Installons Atom:
|
||||
pkg.installed:
|
||||
pkgs:
|
||||
- atom
|
||||
code:
|
||||
pkg.installed
|
||||
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user