X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/df64329b76f7afa6f695ecdc1a30d86bc9fa4182..c783d0a11851850072bcd05d6c87afab99fda211:/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