Add blog assets recovered from 2006
authorGrant Slater <git@firefishy.com>
Sat, 25 Feb 2017 22:58:12 +0000 (22:58 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 25 Feb 2017 22:58:12 +0000 (22:58 +0000)
cookbooks/blog/recipes/default.rb

index fd72262883e7c41dd8c5ef5b708a80c58e0ff9da..e9440d75c89311bcd7b39ae18bdd2f7bedefd306 100644 (file)
@@ -37,7 +37,8 @@ wordpress_site "blog.openstreetmap.org" do
   database_user "osm-blog-user"
   database_password passwords["osm-blog-user"]
   urls "/casts" => "/srv/blog.openstreetmap.org/casts",
-       "/images" => "/srv/blog.openstreetmap.org/images"
+       "/images" => "/srv/blog.openstreetmap.org/images",
+       "/static" => "/srv/blog.openstreetmap.org/static"
 end
 
 wordpress_theme "osmblog-wp-theme" do
@@ -82,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"