26 lines
789 B
Plaintext
26 lines
789 B
Plaintext
# Installation du client bareos
|
|
|
|
{% if grains['kernel'] == 'Linux' %}
|
|
|
|
atom_repository:
|
|
pkgrepo.managed:
|
|
{% if grains['os_family'] == 'RedHat' %}
|
|
- humanname: Atom Repository for $releasever - $basearch
|
|
- baseurl: 'https://packagecloud.io/AtomEditor/atom/el/7/$basearch'
|
|
- enabled: 1
|
|
- gpgcheck: 0
|
|
- repo_gpgcheck: 1
|
|
- gpgkey: 'https://packagecloud.io/AtomEditor/atom/gpgkey'
|
|
- skip_if_unavailable: True
|
|
{% elif grains['os_family'] == 'Debian' %}
|
|
- name: 'deb http://download.bareos.org/bareos/release/latest/Debian_9.0/ /'
|
|
- humanname: Repository Bareos
|
|
- file: /etc/apt/sources.list.d/bareos.list
|
|
- key_url: 'http://download.bareos.org/bareos/release/latest/Debian_9.0/Release.key'
|
|
|
|
{% endif %}
|
|
|
|
bareos-fd:
|
|
pkg.installed
|
|
|
|
{% endif %} |