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
1 changed files with 3 additions and 1 deletions

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' }