X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/891d124699c14c4b91f8924d06dd2af8697e6e87..4a9b4158ddba295ec94e90365399562ef60453e5:/cookbooks/blog/recipes/default.rb diff --git a/cookbooks/blog/recipes/default.rb b/cookbooks/blog/recipes/default.rb index 33e34dbb7..e9440d75c 100644 --- a/cookbooks/blog/recipes/default.rb +++ b/cookbooks/blog/recipes/default.rb @@ -17,8 +17,6 @@ # limitations under the License. # -node.default[:ssl][:certificates] = node[:ssl][:certificates] | ["osmfoundation"] - include_recipe "wordpress" passwords = data_bag_item("blog", "passwords") @@ -40,7 +38,7 @@ wordpress_site "blog.openstreetmap.org" do database_password passwords["osm-blog-user"] urls "/casts" => "/srv/blog.openstreetmap.org/casts", "/images" => "/srv/blog.openstreetmap.org/images", - "/news" => "/srv/blog.openstreetmap.org/news" + "/static" => "/srv/blog.openstreetmap.org/static" end wordpress_theme "osmblog-wp-theme" do @@ -85,6 +83,14 @@ git "/srv/blog.openstreetmap.org/images" do group "wordpress" end +git "/srv/blog.openstreetmap.org/static" do + action :sync + repository "git://github.com/openstreetmap/opengeodata-static.git" + depth 1 + user "wordpress" + group "wordpress" +end + apache_site "opengeodata.org" do template "opengeodata.erb" directory "/srv/opengeodata.org"