Création du fichier
This commit is contained in:
24
softwares/teamviewer.sls
Normal file
24
softwares/teamviewer.sls
Normal file
@@ -0,0 +1,24 @@
|
||||
{% if grains['kernel'] == 'Linux' %}
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
Debian Chrome Add Repo:
|
||||
pkgrepo.managed:
|
||||
- name: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
|
||||
- file: /etc/apt/sources.list.d/google-chrome.list
|
||||
- enable: 1
|
||||
- key_url: https://dl.google.com/linux/linux_signing_key.pub
|
||||
# - gpgkey: https://dl.google.com/linux/linux_signing_key.pub
|
||||
{% elif grains['os_family'] == 'RedHat' %}
|
||||
googleChrome:
|
||||
pkgrepo.managed:
|
||||
- humanname: Repository Chrome pour Rehat family
|
||||
- baseurl: http://dl.google.com/linux/chrome/rpm/stable/x86_64
|
||||
- enable: 1
|
||||
- gpgcheck: 1
|
||||
- gpgkey: https://dl.google.com/linux/linux_signing_key.pub
|
||||
- skip_if_unavailable: 1
|
||||
{% endif %}
|
||||
Chrome installation:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- google-chrome-stable
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user