1
0
Fork 0
mirror of synced 2024-12-21 13:41:08 -05:00

test(jobs): reorder parameters to match pillar

This commit is contained in:
Javier Bértoli 2022-03-28 09:38:54 -03:00
parent 957e6897c0
commit 3bdc11b5c2

View file

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