X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e7701c774297ea52ff406c463e34c79262aa7ad4..5e01e28d3970940f3be03d7bfa514373175caad8:/cookbooks/wordpress/resources/plugin.rb diff --git a/cookbooks/wordpress/resources/plugin.rb b/cookbooks/wordpress/resources/plugin.rb index 933f63b5e..078b926f5 100644 --- a/cookbooks/wordpress/resources/plugin.rb +++ b/cookbooks/wordpress/resources/plugin.rb @@ -68,6 +68,7 @@ action :create do user "www-data" group "www-data" not_if "/opt/wp-cli/wp --path='#{site_directory}' plugin is-active '#{new_resource.plugin}'" + ignore_failure plugin_repository.start_with?("https://plugins.svn.wordpress.org/") end end