]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/current.rb
imagery: fix vdl_light6_deflate source filename
[chef.git] / cookbooks / planet / recipes / current.rb
index 919956d891c870cdfd22efeb9205bbe33d2ac9cb..20c77b7322c8752bab271fd6c877695f7271794d 100644 (file)
@@ -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