diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-22 12:59:21 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-22 12:59:21 -0800 |
commit | 480b83c51b14b78f57d86b0eccc060e1c2d97d2c (patch) | |
tree | b9af10cbe17a6203d48b03c7750957e6c92e7a48 | |
parent | 17c125730d33904893b48aa720de8a49e2d53444 (diff) | |
download | chef-480b83c51b14b78f57d86b0eccc060e1c2d97d2c.tar.gz |
fix aix breakage from d5517ce1e766c096dde16e5c8a10732ee346c5dc
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/provider/group/aix.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/chef/provider/group/aix.rb b/lib/chef/provider/group/aix.rb index 30aea24464..48633c9874 100644 --- a/lib/chef/provider/group/aix.rb +++ b/lib/chef/provider/group/aix.rb @@ -37,7 +37,10 @@ class Chef end def manage_group - shell_out_compact!("chgroup", set_options, options, new_resource.group_name) + options = set_options + if options.size > 0 + shell_out_compact!("chgroup", set_options, new_resource.group_name) + end modify_group_members end |