Mettre à jour 'softwares/chrome.sls'
This commit is contained in:
@@ -1,9 +1,19 @@
|
|||||||
{% if grains['kernel'] == 'Linux' %}
|
{% 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' %}
|
{% 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' %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
Ajout du reposity Google:
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Reference in New Issue
Block a user