Skip to content

Commit

Permalink
Merge pull request #30 from christopherobin/repo/ceph
Browse files Browse the repository at this point in the history
Add Ceph support for EL6/7
  • Loading branch information
MiLk authored May 26, 2017
2 parents cb72a20 + 1c29705 commit 07db53c
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Supported Repositories
name | provides
------------------------------------------------------------------------------|-----------------------------------------------
[`couchbase`](http://www.couchbase.com/) | `couchbase`
[`ceph`](http://ceph.com/) | `ceph`
[`elasticsearch`](https://www.elastic.co/products/elasticsearch) | `elasticsearch-2.x`
[`endpoint`](https://packages.endpoint.com/) | `endpoint`
[`epel`](https://fedoraproject.org/wiki/EPEL) | `epel`
Expand Down Expand Up @@ -97,6 +98,7 @@ become available.
name | provides
------------------------------------------------------------------------------|-----------------------------------------------
[`couchbase`](http://www.couchbase.com/) | `couchbase`
[`ceph`](http://ceph.com/) | `ceph`
[`docker`](https://www.docker.com/) | `dockerrepo`
[`elasticsearch`](https://www.elastic.co/products/elasticsearch) | `elasticsearch-2.x`
[`endpoint`](https://packages.endpoint.com/) | `endpoint`
Expand Down
27 changes: 27 additions & 0 deletions templates/centos6/ceph.repo.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[ceph]
name=Ceph packages for $basearch
baseurl=https://download.ceph.com/rpm-kraken/el6/$basearch
enabled=1
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc
enabled={{item['enabled']|default(0)}}

[ceph-noarch]
name=Ceph noarch packages
baseurl=https://download.ceph.com/rpm-kraken/el6/noarch
enabled=1
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc
enabled={{item['enabled']|default(0)}}

[ceph-source]
name=Ceph source packages
baseurl=https://download.ceph.com/rpm-kraken/el6/SRPMS
enabled=0
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc
enabled={{item['enabled']|default(0)}}

27 changes: 27 additions & 0 deletions templates/centos7/ceph.repo.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[ceph]
name=Ceph packages for $basearch
baseurl=https://download.ceph.com/rpm-kraken/el7/$basearch
enabled=1
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc
enabled={{item['enabled']|default(0)}}

[ceph-noarch]
name=Ceph noarch packages
baseurl=https://download.ceph.com/rpm-kraken/el7/noarch
enabled=1
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc
enabled={{item['enabled']|default(0)}}

[ceph-source]
name=Ceph source packages
baseurl=https://download.ceph.com/rpm-kraken/el7/SRPMS
enabled=0
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc
enabled={{item['enabled']|default(0)}}

5 changes: 5 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ repository_list:
jessie:
url: "http://ftp.jp.debian.org/debian"
pool: "{{ ansible_distribution_release }}-backports main"
ceph:
centos6:
repo: ceph.repo
centos7:
repo: ceph.repo
couchbase:
centos6:
repo: couchbase.repo
Expand Down

0 comments on commit 07db53c

Please sign in to comment.