summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoshua Justice <jjustice6@bloomberg.net>2019-01-24 19:46:46 -0500
committerJoshua Justice <jjustice6@bloomberg.net>2019-01-25 13:04:26 -0500
commitcaf4485bc9d004c4ff268f2df3e2ab4e5fff2d36 (patch)
treeab759f53627b714b73af4ba13dd32278cb6fe8d5 /lib
parentd9f3924338fcc36aa0a04fa228ebec019353ca5a (diff)
downloadchef-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.rb3
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)