Creation du fichier
This commit is contained in:
17
softwares/ceph.sls
Normal file
17
softwares/ceph.sls
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Installation de Ceph
|
||||||
|
|
||||||
|
{% if grains['kernel'] == 'Linux' %}
|
||||||
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
|
CEPH Repository:
|
||||||
|
pkgrepo.managed:
|
||||||
|
- humanname: CEPH Repository
|
||||||
|
- name: https://download.ceph.com/debian-{ceph-stable-release}/ $(lsb_release -sc) main
|
||||||
|
- file: /etc/apt/sources.list.d/ceph.list
|
||||||
|
- key_url: https://download.ceph.com/keys/release.asc
|
||||||
|
|
||||||
|
{% elif grains['os_family'] == 'Redhat' %}
|
||||||
|
Repo Ceph RedHat:
|
||||||
|
cmd.run:
|
||||||
|
- name: subscription-manager repos --enable=rhel-7-server-extras-rpms
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user