mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2025-09-17 17:19:30 +00:00
add tmpfiles.d config - issue#12
This commit is contained in:
@@ -28,6 +28,10 @@ describe 'rsnapshot' do
|
||||
end
|
||||
end
|
||||
context 'files provisioned' do
|
||||
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 -' }
|
||||
end
|
||||
describe file('/etc/rsnapshot/localhost.rsnapshot.conf') do
|
||||
it { is_expected.to exist }
|
||||
its(:content) { is_expected.to match 'backup' }
|
||||
|
Reference in New Issue
Block a user