fix rubocop Conventions

This commit is contained in:
juju4 2016-12-22 04:50:09 -05:00
parent 50abb79577
commit c27fc05aee
2 changed files with 19 additions and 17 deletions

View file

@ -26,7 +26,8 @@ if os.redhat?
elsif os.debian?
shadow_group = 'shadow'
end
blacklist = attribute('blacklist',
blacklist = attribute(
'blacklist',
default: [
# blacklist as provided by NSA
'/usr/bin/rcp', '/usr/bin/rlogin', '/usr/bin/rsh',
@ -68,7 +69,8 @@ blacklist = attribute('blacklist',
# '/usr/bin/wall',
# '/usr/bin/chage',
# '/usr/bin/bsd-write'
], description: 'blacklist of suid/sgid program on system'
],
description: 'blacklist of suid/sgid program on system'
)
control 'os-01' do