# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
-# http://www.apache.org/licenses/LICENSE-2.0
+# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
include_recipe "passenger"
include_recipe "git"
-package "libsqlite3-dev"
-package "zlib1g-dev"
-package "libbz2-dev"
-package "libboost-dev"
-package "libexpat1-dev"
-package "libsparsehash-dev"
-package "libgd2-xpm-dev"
-package "libicu-dev"
-package "libboost-program-options-dev"
-package "cmake"
-package "make"
-package "g++"
-
-package "sqlite3"
-package "osmosis"
-package "curl"
-package "pbzip2"
+package %w[
+ libsqlite3-dev
+ zlib1g-dev
+ libbz2-dev
+ libboost-dev
+ libexpat1-dev
+ libsparsehash-dev
+ libgd2-xpm-dev
+ libicu-dev
+ libboost-program-options-dev
+ cmake
+ make
+ g++
+]
+
+package %w[
+ sqlite3
+ osmosis
+ curl
+ pbzip2
+]
ruby_version = node[:passenger][:ruby_version]
remote_file "#{directory}/planet/planet.pbf" do
action :create_if_missing
- source "http://planet.openstreetmap.org/pbf/planet-latest.osm.pbf"
+ source "https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf"
owner "taginfo"
group "taginfo"
mode 0o644