my rubocop is different

This commit is contained in:
Jeremy W. Chalfant 2015-12-23 15:52:30 -06:00 committed by Christoph Hartmann
parent bbed0e7164
commit b167854c18
2 changed files with 1 additions and 2 deletions

View file

@ -188,7 +188,7 @@ class SrcMstr < ServiceManager
private private
# rubocop:disable Style/TrailingComma # #rubocop:disable Style/TrailingComma
def enabled_rc_tcpip? def enabled_rc_tcpip?
if inspec.command( if inspec.command(
"grep -v ^# /etc/rc.tcpip | grep 'start ' | grep -Eq '(/{0,1}| )#{@name} '" "grep -v ^# /etc/rc.tcpip | grep 'start ' | grep -Eq '(/{0,1}| )#{@name} '"

View file

@ -292,7 +292,6 @@ class AixUser < UnixUser
} }
end end
# rubocop:disable Style/TrailingComma
def credentials(username) def credentials(username)
cmd = inspec.command( cmd = inspec.command(
"lssec -c -f /etc/security/user -s #{username} -a minage -a maxage -a pwdwarntime" "lssec -c -f /etc/security/user -s #{username} -a minage -a maxage -a pwdwarntime"