X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/252049b26eb93cc876a248ead7347625e5750a26..111155132a3e59d63cd3f8c0e1bbf71905c06051:/cookbooks/prometheus/recipes/server.rb?ds=sidebyside diff --git a/cookbooks/prometheus/recipes/server.rb b/cookbooks/prometheus/recipes/server.rb index 69596377e..84b34afc2 100644 --- a/cookbooks/prometheus/recipes/server.rb +++ b/cookbooks/prometheus/recipes/server.rb @@ -111,7 +111,7 @@ archive_file "#{cache_dir}/karma-linux-amd64.tar.gz" do subscribes :extract, "remote_file[#{cache_dir}/karma-linux-amd64.tar.gz]" end -promscale_version = "0.14.0" +promscale_version = "0.16.0" database_version = node[:timescaledb][:database_version] database_cluster = "#{database_version}/main" @@ -159,6 +159,7 @@ systemd_service "promscale" do exec_start "/opt/promscale/bin/promscale --db.uri postgresql:///promscale?host=/run/postgresql&port=5432 --db.connections-max 400" limit_nofile 16384 private_tmp true + private_devices true protect_system "strict" protect_home true no_new_privileges true @@ -349,7 +350,7 @@ systemd_service "prometheus-karma" do exec_start "/opt/prometheus-server/karma/karma-linux-amd64 --config.file=/etc/prometheus/karma.yml" private_tmp true private_devices true - protect_system "full" + protect_system "strict" protect_home true no_new_privileges true restart "on-failure"