Volans has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/356062 )

Change subject: Puppet: disable stringified facts in prod
......................................................................


Puppet: disable stringified facts in prod

Bug: T166372
Change-Id: Icb6b8d1ef277f783dedb4565b278dd2dca749f69
---
M modules/base/templates/puppet.conf.d/10-main.conf.erb
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Faidon Liambotis: Looks good to me, but someone else must approve
  Muehlenhoff: Looks good to me, but someone else must approve
  jenkins-bot: Verified
  Volans: Looks good to me, approved



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 ce204dc..b375c4b 100644
--- a/modules/base/templates/puppet.conf.d/10-main.conf.erb
+++ b/modules/base/templates/puppet.conf.d/10-main.conf.erb
@@ -27,3 +27,6 @@
 postrun_command = /etc/puppet/etckeeper-commit-post
 pluginsync = true
 report = true
+<%- if scope.lookupvar('::realm') == 'production' -%>
+stringify_facts = false
+<%- end -%>

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icb6b8d1ef277f783dedb4565b278dd2dca749f69
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Volans <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Muehlenhoff <[email protected]>
Gerrit-Reviewer: Volans <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to