X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/388687b7120815bc61f49de6c5dd0ea793dad67b..0aaea8096fcdd565f0f1990a84ad68e9aeb90113:/cookbooks/planet/recipes/current.rb diff --git a/cookbooks/planet/recipes/current.rb b/cookbooks/planet/recipes/current.rb index 919956d89..20c77b732 100644 --- a/cookbooks/planet/recipes/current.rb +++ b/cookbooks/planet/recipes/current.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: planet +# Cookbook:: planet # Recipe:: current # -# Copyright 2018, OpenStreetMap Foundation +# Copyright:: 2018, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,6 +17,8 @@ # limitations under the License. # +include_recipe "accounts" + package %w[ pyosmium ] @@ -47,6 +49,7 @@ remote_file "/var/lib/planet/planet.pbf" do owner "planet" group "planet" mode 0o644 + not_if { ENV["TEST_KITCHEN"] } end template "/etc/cron.d/planet-update" do