From: Tom Hughes Date: Fri, 5 Jul 2013 07:36:57 +0000 (+0100) Subject: Create the file directory for each style X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/3db44fd1698b5de08358c5d94ddde7271f4b3333 Create the file directory for each style --- diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index f39c31623..bb7459ece 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -220,6 +220,12 @@ node[:tile][:styles].each do |name,details| supports :restart => true end + directory tile_directory do + owner "tile" + group "www-data" + mode 0775 + end + file "#{tile_directory}/planet-import-complete" do action :create_if_missing owner "tile"