feat: add ceph mirror to edgecache

- add ceph reef apt and rpm repository to edgecache
- add the centos storage sig gpg
This commit is contained in:
2024-06-19 23:15:51 +10:00
parent feddc4a3fb
commit 36ad19ffed
4 changed files with 61 additions and 0 deletions
@@ -0,0 +1,11 @@
# profiles::edgecache::files
class profiles::edgecache::files {
# ceph rpm gpg key
file {'/data/edgecache/pub/ceph/ceph-rpm.gpg':
ensure => file,
content => template('profiles/edgecache/ceph-rpm.gpg.erb'),
require => File['/data/edgecache/pub/ceph'],
}
}
@@ -4,6 +4,7 @@ class profiles::edgecache::init {
if $facts['enc_role'] == 'roles::infra::storage::edgecache' {
include profiles::edgecache::nginx
include profiles::edgecache::files
include profiles::edgecache::selinux
Class['profiles::edgecache::nginx']