diff --git a/softwares/teamviewer.sls b/softwares/teamviewer.sls new file mode 100644 index 0000000..a5397c2 --- /dev/null +++ b/softwares/teamviewer.sls @@ -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 %} \ No newline at end of file