Merge pull request 'fix: ceph consul check script' (#42) from neoloc/ceph_consul into develop
Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/42
This commit is contained in:
commit
1995ce9eac
@ -19,3 +19,17 @@ ssh::server::options:
|
|||||||
- XMODIFIERS
|
- XMODIFIERS
|
||||||
ListenAddress:
|
ListenAddress:
|
||||||
- "%{facts.networking.interfaces.vmbr1.ip}"
|
- "%{facts.networking.interfaces.vmbr1.ip}"
|
||||||
|
|
||||||
|
profiles::consul::client::node_rules:
|
||||||
|
- resource: service
|
||||||
|
segment: ceph-mon
|
||||||
|
disposition: write
|
||||||
|
- resource: service
|
||||||
|
segment: ceph-mds
|
||||||
|
disposition: write
|
||||||
|
- resource: service
|
||||||
|
segment: ceph-mgr
|
||||||
|
disposition: write
|
||||||
|
- resource: service
|
||||||
|
segment: ceph-osd
|
||||||
|
disposition: write
|
||||||
|
|||||||
@ -25,7 +25,7 @@ class profiles::proxmox::consul {
|
|||||||
{
|
{
|
||||||
id => "pveceph_${key}_check",
|
id => "pveceph_${key}_check",
|
||||||
name => "PVECeph ${key} Check",
|
name => "PVECeph ${key} Check",
|
||||||
script => "/usr/local/bin/check_ceph_service.sh ${key}",
|
args => ['/usr/local/bin/check_ceph_service.sh', $key],
|
||||||
interval => '10s',
|
interval => '10s',
|
||||||
timeout => '1s',
|
timeout => '1s',
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user