chef/cookbooks/yum/libraries/matchers.rb
Greg Karékinian 777b85c2ab Update the mediawiki cookbook and upstream cookbooks
Compatibility with Chef 14
2019-04-08 11:20:12 +02:00

10 lines
303 B
Ruby

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