0
0
mirror of https://github.com/saltstack-formulas/rsyncd-formula.git synced 2025-07-21 04:54:32 +02:00
2019-10-14 02:13:14 +02:00

13 lines
443 B
Ruby

control 'Rsync configuration' do
title 'should match desired lines'
describe ini('/etc/rsyncd.conf') do
its('uid') { should eq 'nobody' }
its('gid') { should eq 'nobody' }
its('use chroot') { should eq 'yes' }
its('max connections') { should eq '4' }
its('ftp.path') { should eq '/var/ftp/./pub' }
its('ftp.comment') { should eq 'whole ftp area (approx 6.1 GB)' }
end
end