debut d'adaptation

This commit is contained in:
Iwan Clément
2018-12-01 09:06:51 +00:00
parent 8bdaf21d95
commit 3852345b6c

View File

@@ -2,23 +2,23 @@
{% if grains['os_family'] == 'Debian' %} {% if grains['os_family'] == 'Debian' %}
Debian Chrome Add Repo: Debian Chrome Add Repo:
pkgrepo.managed: pkgrepo.managed:
- name: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main - name: deb http://linux.teamviewer.com/deb stable main
- file: /etc/apt/sources.list.d/google-chrome.list - file: /etc/apt/sources.list.d/teamviewer.list
- enable: 1 - enable: 1
- key_url: https://dl.google.com/linux/linux_signing_key.pub - key_url: https://dl.google.com/linux/linux_signing_key.pub
# - gpgkey: https://dl.google.com/linux/linux_signing_key.pub # - gpgkey: https://dl.google.com/linux/linux_signing_key.pub
{% elif grains['os_family'] == 'RedHat' %} {% elif grains['os_family'] == 'RedHat' %}
googleChrome: TeamViewer:
pkgrepo.managed: pkgrepo.managed:
- humanname: Repository Chrome pour Rehat family - humanname: Repository Teamviewer pour Rehat family
- baseurl: http://dl.google.com/linux/chrome/rpm/stable/x86_64 - baseurl: http://dl.google.com/linux/chrome/rpm/stable/x86_64
- enable: 1 - enable: 1
- gpgcheck: 1 - gpgcheck: 1
- gpgkey: https://dl.google.com/linux/linux_signing_key.pub - gpgkey: https://dl.google.com/linux/linux_signing_key.pub
- skip_if_unavailable: 1 - skip_if_unavailable: 1
{% endif %} {% endif %}
Chrome installation: Teamviewer installation:
pkg.installed: pkg.installed:
- pkgs: - pkgs:
- google-chrome-stable - teamviewer-host
{% endif %} {% endif %}