]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wordpress/resources/plugin.rb
nominatim: switch server to new location of nominatim
[chef.git] / cookbooks / wordpress / resources / plugin.rb
index 933f63b5e05eefe7cfc9c17b36332c7f71303ba5..078b926f5d2675f1e9b95d25664f456158fbfdcf 100644 (file)
@@ -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