Update cookbooks for Ubuntu 16.04 TLS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user