|
|
@@ -96,11 +96,11 @@ describe file('/etc/logrotate.d/a_monthly_job') do |
|
|
|
its('mode') { should cmp '0644' } |
|
|
|
its('content') { should include '/var/log/a_service/*.log' } |
|
|
|
its('content') { should include 'monthly' } |
|
|
|
its('content') { should include 'rotate 12' } |
|
|
|
its('content') { should include 'missingok' } |
|
|
|
its('content') { should include 'rotate 12' } |
|
|
|
its('content') { should include 'compress' } |
|
|
|
its('content') { should include 'delaycompress' } |
|
|
|
its('content') { should include 'notifempty' } |
|
|
|
its('content') { should include 'create 640 root adm' } |
|
|
|
its('content') { should include 'sharedscripts' } |
|
|
|
end |
|
|
|
|