Dzahn has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/358501 )

Change subject: base/puppet: add "daemonize = no" to agent config
......................................................................

base/puppet: add "daemonize = no" to agent config

This setting prevents puppet from daemonizing.

Tested with a typo like "puppet agent 0tv" as described
on T166371 it works and prevents it from running.

So instead of adding the monitoring for this, i suggest to
add this to the config and prevent it from happening in the
first place.

Bug: T166371
Change-Id: Ie3e3a02b193380cddd9d80465fee16d80fe7644f
---
M modules/base/templates/puppet.conf.d/10-main.conf.erb
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/01/358501/1

diff --git a/modules/base/templates/puppet.conf.d/10-main.conf.erb 
b/modules/base/templates/puppet.conf.d/10-main.conf.erb
index fd6dfc0..8a475b4 100644
--- a/modules/base/templates/puppet.conf.d/10-main.conf.erb
+++ b/modules/base/templates/puppet.conf.d/10-main.conf.erb
@@ -20,6 +20,7 @@
 <%- end -%>
 <% if @certname %>certname = <%= @certname %><% end %>
 <% if @dns_alt_names %>dns_alt_names = <%= @dns_alt_names %><% end %>
+daemonize = no
 configtimeout = 960
 usecacheonfailure = false
 splay = true

-- 
To view, visit https://gerrit.wikimedia.org/r/358501
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie3e3a02b193380cddd9d80465fee16d80fe7644f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to