libpqxx-dev
libcrypto++-dev
libyajl-dev
+ libfmt-dev
zlib1g-dev
]
default[:sysfs][:cpufreq_ondemand][:parameters][:"devices/system/cpu/cpufreq/ondemand/sampling_down_factor"] = "100"
end
-if File.exist?("/sys/devices/system/cpu/cpu0/power/energy_perf_bias")
+energy_perf_bias = Dir.glob("/sys/devices/system/cpu/cpu*/power/energy_perf_bias")
+
+unless energy_perf_bias.empty?
default[:sysfs][:cpu_power_energy_perf_bias][:comment] = "Set CPU Energy-Performance Bias Preference to performance"
- default[:sysfs][:cpu_power_energy_perf_bias][:parameters][:"devices/system/cpu/cpu*/power/energy_perf_bias"] = "0"
+
+ energy_perf_bias.sort.each do |path|
+ default[:sysfs][:cpu_power_energy_perf_bias][:parameters][path.sub(%r{^/sys/}, "")] = "0"
+ end
end
nginx_site "nominatim" do
template "nginx.erb"
- directory build_directory
+ directory project_directory
variables :pools => node[:nominatim][:fpm_pools],
:frontends => frontends,
:confdir => "#{basedir}/etc",
description "Hourly replication"
user "planet"
exec_start "/usr/local/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/hour"
+ environment "LD_PRELOAD" => "/opt/flush/flush.so"
private_tmp true
private_devices true
protect_system "full"
description "Daily replication"
user "planet"
exec_start "/usr/local/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/day"
+ environment "LD_PRELOAD" => "/opt/flush/flush.so"
private_tmp true
private_devices true
protect_system "full"
short name = vespucci
url = https://github.com/MarcusWolschon/osmeditor4android.git
branch = master
-commit link = https://github.com//MarcusWolschon/osmeditor4android/commit/%c
+commit link = https://github.com/MarcusWolschon/osmeditor4android/commit/%c
channels = #osm-dev
commit message = [%s|%b|%a] %m %l
},
:tile => {
:database => {
- :cluster => "12/main",
+ :cluster => "14/main",
:postgis => "3"
},
:mapnik => "3.1",
},
:tile => {
:database => {
- :cluster => "12/main",
+ :cluster => "14/main",
:postgis => "3"
},
:mapnik => "3.1",
:listen_addresses => "10.0.0.20",
:work_mem => "160MB",
:effective_io_concurrency => "256",
- :fsync => "off"
+ :fsync => "on"
}
}
},
:nominatim => {
- :state => "off",
+ :state => "standalone",
:dbcluster => "14/main",
:postgis => "3",
:enable_backup => true,
},
:tile => {
:database => {
- :cluster => "12/main",
+ :cluster => "14/main",
:postgis => "3"
},
:mapnik => "3.1",