From 1d99afe62355117b1c517e7e1e91bb2ad0dd0499 Mon Sep 17 00:00:00 2001 From: "Jeremy W. Chalfant" Date: Mon, 21 Dec 2015 09:29:55 -0600 Subject: [PATCH] fix rubocop complaint --- lib/resources/user.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/resources/user.rb b/lib/resources/user.rb index e72c4e697..e71082255 100644 --- a/lib/resources/user.rb +++ b/lib/resources/user.rb @@ -287,14 +287,14 @@ class AixUser < UnixUser user = lsuser.stdout.chomp.split("\n").last.split(':') { - home: user[1], + home: user[1], shell: user[2], } end def credentials(username) 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", ) return nil if cmd.exit_status != 0