Mettre à jour 'softwares/chrome.sls'
This commit is contained in:
@@ -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' %}
|
||||
{% endif %}
|
||||
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
|
||||
|
||||
Ajout du reposity Google:
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user