diff options
author | Joshua Justice <jjustice6@bloomberg.net> | 2019-01-24 19:46:46 -0500 |
---|---|---|
committer | Joshua Justice <jjustice6@bloomberg.net> | 2019-01-25 13:04:26 -0500 |
commit | caf4485bc9d004c4ff268f2df3e2ab4e5fff2d36 (patch) | |
tree | ab759f53627b714b73af4ba13dd32278cb6fe8d5 /lib | |
parent | d9f3924338fcc36aa0a04fa228ebec019353ca5a (diff) | |
download | chef-caf4485bc9d004c4ff268f2df3e2ab4e5fff2d36.tar.gz |
Chefstyle nitpicks
Signed-off-by: Joshua Justice <jjustice6@bloomberg.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/group/solaris.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider/group/solaris.rb b/lib/chef/provider/group/solaris.rb index 5bbdb4cbe6..ded2db108e 100644 --- a/lib/chef/provider/group/solaris.rb +++ b/lib/chef/provider/group/solaris.rb @@ -39,11 +39,10 @@ class Chef end requirements.assert(:modify, :manage) do |a| - a.assertion { (new_resource.members.empty? && new_resource.excluded_members.empty?) || new_resource.append } + a.assertion { (new_resource.members.empty? && new_resource.excluded_members.empty?) || new_resource.append } a.failure_message Chef::Exceptions::Group, "setting group members directly is not supported by #{self}, must set append true in group" # No whyrun alternative - this action is simply not supported. end - end def set_members(members) |