Merge "Stop creating /var/lib/ceph/mgr"

This commit is contained in:
Zuul 2023-07-27 10:47:56 +00:00 committed by Gerrit Code Review
commit f5bd05d31e
2 changed files with 1 additions and 13 deletions

View File

@ -52,13 +52,7 @@ define ceph::mgr (
$key = undef,
Boolean $inject_key = false,
) {
file { '/var/lib/ceph/mgr':
ensure => directory,
owner => 'ceph',
group => 'ceph',
seltype => 'ceph_var_lib_t',
tag => 'ceph-mgr',
} -> file { "/var/lib/ceph/mgr/${cluster}-${name}":
file { "/var/lib/ceph/mgr/${cluster}-${name}":
ensure => directory,
owner => 'ceph',
group => 'ceph',

View File

@ -38,12 +38,6 @@ describe 'ceph::mgr' do
}
end
it { should contain_file('/var/lib/ceph/mgr').with(
:ensure => 'directory',
:owner => 'ceph',
:group => 'ceph'
)}
it { should contain_file('/var/lib/ceph/mgr/ceph-foo').with(
:ensure => 'directory',
:owner => 'ceph',