summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/provides.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/provides.rb')
-rw-r--r--lib/chef/mixin/provides.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mixin/provides.rb b/lib/chef/mixin/provides.rb
index cb643b9cfc..5062ef24dd 100644
--- a/lib/chef/mixin/provides.rb
+++ b/lib/chef/mixin/provides.rb
@@ -23,8 +23,8 @@ class Chef
node_map.set(short_name, true, opts, &block)
end
- def does_not_provide(short_name)
- node_map.delete(short_name)
+ def provides_nothing
+ node_map.clear
end
# Check whether this resource provides the resource_name DSL for the given