From 936daf6f63ca07f67345f12f34e971c0eb60d64b Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 24 Jun 2014 12:28:43 -0500 Subject: [PATCH] Updating the other classes in the group module to match #7249 --- system/group | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/group b/system/group index 6b401d077e6..a614277884a 100644 --- a/system/group +++ b/system/group @@ -206,7 +206,7 @@ class AIX(Group): if len(cmd) == 1: return (None, '', '') if self.module.check_mode: - return (True, '', '') + return (0, '', '') cmd.append(self.name) return self.execute_command(cmd) @@ -245,7 +245,7 @@ class FreeBsdGroup(Group): # modify the group if cmd will do anything if cmd_len != len(cmd): if self.module.check_mode: - return (True, '', '') + return (0, '', '') return self.execute_command(cmd) return (None, '', '') @@ -287,7 +287,7 @@ class OpenBsdGroup(Group): if len(cmd) == 1: return (None, '', '') if self.module.check_mode: - return (True, '', '') + return (0, '', '') cmd.append(self.name) return self.execute_command(cmd) @@ -329,7 +329,7 @@ class NetBsdGroup(Group): if len(cmd) == 1: return (None, '', '') if self.module.check_mode: - return (True, '', '') + return (0, '', '') cmd.append(self.name) return self.execute_command(cmd)