diff --git a/manifests/mgr.pp b/manifests/mgr.pp index 30461384..a559fc56 100644 --- a/manifests/mgr.pp +++ b/manifests/mgr.pp @@ -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', diff --git a/spec/defines/ceph_mgr_spec.rb b/spec/defines/ceph_mgr_spec.rb index 1c6a26f3..9b293432 100644 --- a/spec/defines/ceph_mgr_spec.rb +++ b/spec/defines/ceph_mgr_spec.rb @@ -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',