chef/cookbooks/yum/libraries/matchers.rb
2017-03-20 13:19:10 +00: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