Initial Chef repository
This commit is contained in:
7
cookbooks/packagecloud/libraries/matcher.rb
Normal file
7
cookbooks/packagecloud/libraries/matcher.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
if defined?(ChefSpec)
|
||||
|
||||
def create_packagecloud_repo(resource_name)
|
||||
ChefSpec::Matchers::ResourceMatcher.new(:packagecloud_repo, :add, resource_name)
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user