Update cookbooks

* Replace old nginx cookbook with new chef_nginx cookbooks
* Update application cookbook
This commit is contained in:
Greg Karékinian
2017-04-28 11:59:11 +02:00
parent 5d1d4832df
commit 4fb5390f9b
264 changed files with 3050 additions and 8605 deletions

View File

@@ -0,0 +1,12 @@
if defined?(ChefSpec)
ChefSpec.define_matcher :zypper_repo
def add_zypper_repo(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:zypper_repo, :add, resource_name)
end
def remove_zypper_repo(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:zypper_repo, :remove, resource_name)
end
end