X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e7701c774297ea52ff406c463e34c79262aa7ad4..5fde77fb90280da2c008bb5e8e83f6635b999715:/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