Vendor the external cookbooks
Knife-Zero doesn't include Berkshelf support, so vendoring everything in the repo is convenient again
This commit is contained in:
9
cookbooks/yum/libraries/matchers.rb
Normal file
9
cookbooks/yum/libraries/matchers.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
if defined?(ChefSpec)
|
||||
def create_yum_globalconfig(resource_name)
|
||||
ChefSpec::Matchers::ResourceMatcher.new(:yum_globalconfig, :create, resource_name)
|
||||
end
|
||||
|
||||
def delete_yum_globalconfig(resource_name)
|
||||
ChefSpec::Matchers::ResourceMatcher.new(:yum_globalconfig, :delete, resource_name)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user