mirror of
https://github.com/inspec/inspec
synced 2024-11-15 01:17:08 +00:00
my rubocop is different
This commit is contained in:
parent
b363e1d147
commit
c982daaf6e
2 changed files with 1 additions and 2 deletions
|
@ -188,7 +188,7 @@ class SrcMstr < ServiceManager
|
|||
|
||||
private
|
||||
|
||||
# rubocop:disable Style/TrailingComma
|
||||
# #rubocop:disable Style/TrailingComma
|
||||
def enabled_rc_tcpip?
|
||||
if inspec.command(
|
||||
"grep -v ^# /etc/rc.tcpip | grep 'start ' | grep -Eq '(/{0,1}| )#{@name} '"
|
||||
|
|
|
@ -292,7 +292,6 @@ class AixUser < UnixUser
|
|||
}
|
||||
end
|
||||
|
||||
# rubocop:disable Style/TrailingComma
|
||||
def credentials(username)
|
||||
cmd = inspec.command(
|
||||
"lssec -c -f /etc/security/user -s #{username} -a minage -a maxage -a pwdwarntime"
|
||||
|
|
Loading…
Reference in a new issue