X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/65c88ab9629eb677f04a26971ed554f025363f51..73e1dbc29d812191f370424b42f46bcece1ffb47:/cookbooks/overpass/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/overpass/recipes/default.rb b/cookbooks/overpass/recipes/default.rb index c53153339..be930135f 100644 --- a/cookbooks/overpass/recipes/default.rb +++ b/cookbooks/overpass/recipes/default.rb @@ -18,8 +18,9 @@ # include_recipe "accounts" -include_recipe "munin" include_recipe "apache" +include_recipe "munin" +include_recipe "ruby" username = "overpass" basedir = data_bag_item("accounts", username)["home"] @@ -36,7 +37,7 @@ end ## Install overpass from source -srcdir = "#{basedir}/src/osm-3s_v#{node[:overpass][:version]}" +srcdir = "#{basedir}/src/osm-3s_v#{node[:overpass][:full_version]}" package %w[ build-essential @@ -72,7 +73,9 @@ end ## Setup Apache -gem_package "rotp" +gem_package "rotp" do + gem_binary node[:ruby][:gem] +end directory "#{basedir}/apache" do owner "root"