mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2024-12-16 01:30:35 +00:00
add test for tmpfiles.d dir
This commit is contained in:
parent
ab20bea159
commit
43cd819749
@ -28,6 +28,9 @@ describe 'rsnapshot' do
|
||||
end
|
||||
end
|
||||
context 'files provisioned' do
|
||||
describe file('/etc/tmpfiles.d') do
|
||||
it { should be_directory }
|
||||
end
|
||||
describe file('/etc/tmpfiles.d/rsnapshot.conf') do
|
||||
it { is_expected.to exist }
|
||||
its(:content) { is_expected.to match 'D /var/run/rsnapshot 0755 root root -' }
|
||||
|
Loading…
Reference in New Issue
Block a user