feat: add ceph roles (#284)
- add hieradata to manage ceph repo Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/284
This commit is contained in:
parent
90504e5b02
commit
2f088c461f
17
hieradata/roles/ceph.yaml
Normal file
17
hieradata/roles/ceph.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
# additional repos
|
||||
profiles::yum::global::repos:
|
||||
- ceph:
|
||||
name: ceph
|
||||
descr: ceph repository
|
||||
target: /etc/yum.repos.d/ceph.repo
|
||||
baseurl: https://edgecache.query.consul/ceph/yum/el%{facts.os.release.major}/%{facts.os.architecture}
|
||||
gpgkey: https://download.ceph.com/keys/release.asc
|
||||
mirrorlist: absent
|
||||
- ceph-noarch:
|
||||
name: ceph-noarch
|
||||
descr: ceph-noarch repository
|
||||
target: /etc/yum.repos.d/ceph-noarch.repo
|
||||
baseurl: https://edgecache.query.consul/ceph/yum/el%{facts.os.release.major}/noarch
|
||||
gpgkey: https://download.ceph.com/keys/release.asc
|
||||
mirrorlist: absent
|
||||
@ -1,5 +1,4 @@
|
||||
# a role to deploy the ceph mds
|
||||
# work in progress
|
||||
class roles::ceph::mds {
|
||||
include profiles::defaults
|
||||
include profiles::base
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
# a role to deploy the ceph mon
|
||||
# work in progress
|
||||
class roles::ceph::mon {
|
||||
include profiles::defaults
|
||||
include profiles::base
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
# a role to deploy the ceph osd
|
||||
# work in progress
|
||||
class roles::ceph::osd {
|
||||
include profiles::defaults
|
||||
include profiles::base
|
||||
}
|
||||
5
site/roles/manifests/ceph/rgw.pp
Normal file
5
site/roles/manifests/ceph/rgw.pp
Normal file
@ -0,0 +1,5 @@
|
||||
# a role to deploy the ceph rgw
|
||||
class roles::ceph::rgw {
|
||||
include profiles::defaults
|
||||
include profiles::base
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user