action [ :disable ]
end
-node[:nominatim][:fpm_pools].each do |name,data|
+node[:nominatim][:fpm_pools].each do |name, data|
template "/etc/php5/fpm/pool.d/#{name}.conf" do
source "fpm.conf.erb"
owner "root"
mode 0644
end
-
package "osmosis"
package "gcc"
package "proj-bin"
package "libprotobuf-c0-dev"
package "protobuf-c-compiler"
package "python-psycopg2"
+package "libboost-dev"
+package "libboost-system-dev"
+package "libboost-filesystem-dev"
+package "libboost-thread-dev"
execute "php-pear-db" do
command "pear install DB"
- not_if { File.exists?("/usr/share/php/DB") }
+ not_if { File.exist?("/usr/share/php/DB") }
end
execute "compile_nominatim" do
mode 0755
end
-
template "#{source_directory}/.git/hooks/post-merge" do
source "update_source.erb"
owner "nominatim"
variables :bin_directory => "#{source_directory}/utils", :mailto => email_errors
end
-
template "#{source_directory}/utils/nominatim-update" do
source "updater.erb"
user "nominatim"
mode 0755
recursive true
end
-