Fix idempotency for ceph-mgr
Change-Id: Ia5db0bcc884d47c918c7da6657aa5b9bfdcdce44
This commit is contained in:
parent
cb20c32c0b
commit
c61c01840f
@ -53,15 +53,17 @@ define ceph::mgr (
|
||||
$inject_key = false,
|
||||
) {
|
||||
file { '/var/lib/ceph/mgr':
|
||||
ensure => directory,
|
||||
owner => 'ceph',
|
||||
group => 'ceph',
|
||||
tag => 'ceph-mgr',
|
||||
ensure => directory,
|
||||
owner => 'ceph',
|
||||
group => 'ceph',
|
||||
seltype => 'ceph_var_lib_t',
|
||||
tag => 'ceph-mgr',
|
||||
} -> file { "/var/lib/ceph/mgr/${cluster}-${name}":
|
||||
ensure => directory,
|
||||
owner => 'ceph',
|
||||
group => 'ceph',
|
||||
tag => 'ceph-mgr',
|
||||
ensure => directory,
|
||||
owner => 'ceph',
|
||||
group => 'ceph',
|
||||
seltype => 'ceph_var_lib_t',
|
||||
tag => 'ceph-mgr',
|
||||
}
|
||||
|
||||
if $authentication_type == 'cephx' {
|
||||
|
Loading…
Reference in New Issue
Block a user