1
0
Fork 0
mirror of synced 2024-06-24 16:21:09 -04:00

fix(rubocop): fix remaining errors manually

This commit is contained in:
Imran Iqbal 2019-10-11 21:33:11 +01:00
parent 652c350785
commit a10ea35efa
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819

View file

@ -10,7 +10,9 @@ control 'Sudoers configuration' do
its('mode') { should cmp '0440' }
its('content') { should include 'Defaults:ADMINS !lecture' }
its('content') { should include 'Defaults:johndoe !requiretty' }
its('content') { should include 'Defaults@www1 log_year, logfile=/var/log/sudo.log' }
its('content') do
should include 'Defaults@www1 log_year, logfile=/var/log/sudo.log'
end
its('content') { should include 'Host_Alias WEBSERVERS = www1,www2,www3' }
its('content') { should include 'User_Alias ADMINS = millert,dowdy,mikef' }
its('content') { should include 'johndoe ALL=(ALL) ALL' }