Mettre à jour 'softwares/chrome.sls'

This commit is contained in:
Iwan Clément
2018-05-20 14:28:57 +00:00
parent 233fab9c20
commit b589aa6893

View File

@@ -1,9 +1,19 @@
{% if grains['kernel'] == 'Linux' %}
# Ajout du repository
# deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
{% 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
{% elif grains['os_family'] == 'Redhat' %}
Redhat Chrome Add Repo:
pkgrepo.managed:
- baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
- name: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
- file: /etc/yum.repos.d/google-chrome.repo
- enable: 1
- key_url: https://dl.google.com/linux/linux_signing_key.pub
{% endif %}
Ajout du reposity Google:
{% endif %}