Merge pull request 'feat: add ceph mirror to edgecache' (#43) from neoloc/ceph_mirror into develop
Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/43
This commit was merged in pull request #43.
This commit is contained in:
@@ -42,6 +42,9 @@ profiles::edgecache::params::directories:
|
||||
/data/edgecache/pub/postgres: { owner: nginx, group: nginx }
|
||||
/data/edgecache/pub/postgres/apt: { owner: nginx, group: nginx }
|
||||
/data/edgecache/pub/postgres/yum: { owner: nginx, group: nginx }
|
||||
/data/edgecache/pub/ceph: { owner: nginx, group: nginx }
|
||||
/data/edgecache/pub/ceph/apt: { owner: nginx, group: nginx }
|
||||
/data/edgecache/pub/ceph/yum: { owner: nginx, group: nginx }
|
||||
|
||||
profiles::edgecache::params::mirrors:
|
||||
debian:
|
||||
@@ -118,3 +121,29 @@ profiles::edgecache::params::mirrors:
|
||||
proxy_cache_valid:
|
||||
- '200 302 1440h'
|
||||
- '404 1m'
|
||||
ceph_yum_repodata:
|
||||
ensure: present
|
||||
location: '~* ^/ceph/yum/.*/repodata/'
|
||||
rewrite_rules:
|
||||
- '^/ceph/yum/(.*)$ /rpm-reef/$1 break'
|
||||
proxy: http://158.69.68.124
|
||||
ceph_yum_data:
|
||||
ensure: present
|
||||
location: /ceph/yum
|
||||
proxy: http://158.69.68.124/rpm-reef
|
||||
proxy_cache: cache
|
||||
proxy_cache_valid:
|
||||
- '200 302 1440h'
|
||||
- '404 1m'
|
||||
ceph_apt:
|
||||
ensure: present
|
||||
location: /ceph/apt
|
||||
proxy: http://158.69.68.124/debian-reef
|
||||
ceph_apt_pool:
|
||||
ensure: present
|
||||
location: /ceph/apt/pool
|
||||
proxy: http://158.69.68.124/debian-reef/pool
|
||||
proxy_cache: cache
|
||||
proxy_cache_valid:
|
||||
- '200 302 1440h'
|
||||
- '404 1m'
|
||||
|
||||
Reference in New Issue
Block a user