création
This commit is contained in:
26
softwares/bareosclient.sls
Normal file
26
softwares/bareosclient.sls
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# 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 %}
|
||||||
Reference in New Issue
Block a user