]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/overpass/recipes/default.rb
Merge remote-tracking branch 'github/pull/704'
[chef.git] / cookbooks / overpass / recipes / default.rb
index 47469716875a78bbdfb801df44f002addb2959ea..665b6730b05e54b94ae94d00f7c061103ea5f0dc 100644 (file)
@@ -19,7 +19,6 @@
 
 include_recipe "accounts"
 include_recipe "apache"
-include_recipe "munin"
 include_recipe "prometheus"
 include_recipe "ruby"
 
@@ -36,12 +35,6 @@ web_passwords = data_bag_item("web", "passwords")
   end
 end
 
-# FIXME: Remove purge post munin removal
-directory "#{basedir}/munin" do
-  action :delete
-  recursive true
-end
-
 ## Install overpass from source
 
 srcdir = "#{basedir}/src/osm-3s_v#{node[:overpass][:version]}"
@@ -56,7 +49,7 @@ package %w[
 ]
 
 remote_file "#{srcdir}.tar.gz" do
-  action :create
+  action :create_if_missing
   source "https://dev.overpass-api.de/releases/osm-3s_v#{node[:overpass][:version]}.tar.gz"
   owner username
   group username