]> git.openstreetmap.org Git - chef.git/commitdiff
switch2osm: add temporary workaround until for missing config
authorGrant Slater <git@firefishy.com>
Wed, 27 Nov 2019 23:45:09 +0000 (23:45 +0000)
committerGrant Slater <git@firefishy.com>
Wed, 27 Nov 2019 23:46:41 +0000 (23:46 +0000)
cookbooks/switch2osm/recipes/default.rb

index 8ddaf5101c7f1cac0a45bcd1956b4da4fcf730b1..96593bfeb754d4e79ab14c38176c7313db8708e6 100644 (file)
@@ -60,6 +60,14 @@ execute "/srv/switch2osm.org/Gemfile" do
   notifies :run, "execute[/srv/switch2osm.org]"
 end
 
+# Temporary workaround until merged: https://github.com/switch2osm/switch2osm.github.io/pull/68
+file "/srv/switch2osm.org/_config_osm.yml" do
+  mode 0o644
+  user "root"
+  group "root"
+  content "url: https://switch2osm.org"
+end
+
 execute "/srv/switch2osm.org" do
   action :nothing
   command "bundle exec jekyll build --trace --config _config.yml,_config_osm.yml"