Update cookbooks for Ubuntu 16.04 TLS

This commit is contained in:
Greg Karékinian
2017-03-31 19:20:00 +02:00
parent 6430d71006
commit 8923d0d7ef
219 changed files with 2770 additions and 11511 deletions

View File

@@ -16,6 +16,10 @@ if defined?(ChefSpec)
ChefSpec::Matchers::ResourceMatcher.new(:php_pear, :purge, resource_name)
end
def purge_php_pear(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:php_pear, :option, resource_name)
end
ChefSpec.define_matcher :php_pear_channel
def discover_php_pear_channel(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:php_pear_channel, :discover, resource_name)
@@ -32,4 +36,13 @@ if defined?(ChefSpec)
def add_php_pear_channel(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:php_pear_channel, :add, resource_name)
end
ChefSpec.define_matcher :php_fpm_pool
def install_php_fpm_pool(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:php_fpm_pool, :install, resource_name)
end
def uninstall_php_fpm_pool(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:php_fpm_pool, :uninstall, resource_name)
end
end