From 3b16ed0abdd8dd032d6d9b6d66f01d59d6749bfb Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 16 Jan 2021 11:16:16 +0000 Subject: [PATCH] Fix cookstyle warnings --- cookbooks/prometheus/recipes/server.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbooks/prometheus/recipes/server.rb b/cookbooks/prometheus/recipes/server.rb index 6e112a000..bbb7fbae5 100644 --- a/cookbooks/prometheus/recipes/server.rb +++ b/cookbooks/prometheus/recipes/server.rb @@ -81,8 +81,8 @@ execute "/opt/promscale/extension/Makefile" do cwd "/opt/promscale/extension" user "root" group "root" - subscribes :run, "git[/opt/promscale/extension]", :immediate - notifies :restart, "service[postgresql]", :immediate + subscribes :run, "git[/opt/promscale/extension]", :immediately + notifies :restart, "service[postgresql]", :immediately end directory "/opt/promscale/bin" do @@ -104,7 +104,7 @@ systemd_service "promscale" do type "simple" user "prometheus" exec_start "/opt/promscale/bin/promscale --db-host /run/postgresql --db-port 5432 --db-user prometheus --db-name promscale --db-connections-max 400" -# exec_start lazy { "/opt/promscale/bin/promscale --db-host /run/postgresql --db-port #{node[:postgresql][:clusters][database_cluster][:port]} --db-user prometheus --db-name promscale --db-max-connections 400" } + # exec_start lazy { "/opt/promscale/bin/promscale --db-host /run/postgresql --db-port #{node[:postgresql][:clusters][database_cluster][:port]} --db-user prometheus --db-name promscale --db-max-connections 400" } private_tmp true protect_system "strict" protect_home true -- 2.43.2