vers la liste
This commit is contained in:
@@ -5,23 +5,21 @@
|
|||||||
Repository pour installer atom:
|
Repository pour installer atom:
|
||||||
pkgrepo.managed:
|
pkgrepo.managed:
|
||||||
{% if grains['os_family'] == 'RedHat' %}
|
{% if grains['os_family'] == 'RedHat' %}
|
||||||
- humanname: Atom Editor
|
- humanname: Atom Repository for $releasever - $basearch
|
||||||
- baseurl: https://packagecloud.io/AtomEditor/atom/el/7/$basearch
|
- baseurl: 'https://packagecloud.io/AtomEditor/atom/el/7/$basearch'
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
- gpgcheck: 0
|
- gpgcheck: 0
|
||||||
- repo_gpgcheck: 1
|
- repo_gpgcheck: 1
|
||||||
- gpgkey: https://packagecloud.io/AtomEditor/atom/gpgkey
|
- gpgkey: 'https://packagecloud.io/AtomEditor/atom/gpgkey'
|
||||||
{% elif grains['os_family'] == 'Debian' %}
|
{% elif grains['os_family'] == 'Debian' %}
|
||||||
- name: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
|
- name: 'deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main'
|
||||||
- humanname: Atom Repository
|
- humanname: Atom Repository
|
||||||
- file: /etc/apt/sources.list.d/atom.list
|
- file: /etc/apt/sources.list.d/atom.list
|
||||||
- key_url: https://packagecloud.io/AtomEditor/atom/gpgkey
|
- key_url: 'https://packagecloud.io/AtomEditor/atom/gpgkey'
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
Installons Atom:
|
atom:
|
||||||
pkg.installed:
|
pkg.installed
|
||||||
pkgs:
|
|
||||||
- atom
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Reference in New Issue
Block a user