ArielGlenn has submitted this change and it was merged.
Change subject: force salt minion to ping master every 15 minutes
......................................................................
force salt minion to ping master every 15 minutes
we had an issue with the minion not noticing its connection
to the master was dead. if ping fails it will try to
auth again to the master, and if after 5 retries it
fails, the minion will restart.
Change-Id: I161c2fa7fc41f0f486ad5d1b2a84f603d70b126a
---
M modules/salt/manifests/minion.pp
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
ArielGlenn: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/salt/manifests/minion.pp b/modules/salt/manifests/minion.pp
index 4b7c2aa..c2a197b 100644
--- a/modules/salt/manifests/minion.pp
+++ b/modules/salt/manifests/minion.pp
@@ -54,6 +54,9 @@
recon_max => 10000,
recon_randomize => true,
keysize => 2048,
+ ping_interval => 15,
+ auth_retries => 5,
+ auth_safemode => false,
}
# our config file must be in place before
--
To view, visit https://gerrit.wikimedia.org/r/219134
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I161c2fa7fc41f0f486ad5d1b2a84f603d70b126a
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits