Ottomata has submitted this change and it was merged.
Change subject: Set file.encoding=UTF-8 for all java processes in analytics
cluster
......................................................................
Set file.encoding=UTF-8 for all java processes in analytics cluster
Bug: T128607
Change-Id: I05f989c369f909ed8b31301a7cdf5a8681bd5a4a
---
M modules/role/manifests/analytics_cluster/java.pp
1 file changed, 7 insertions(+), 0 deletions(-)
Approvals:
Ottomata: Verified; Looks good to me, approved
diff --git a/modules/role/manifests/analytics_cluster/java.pp
b/modules/role/manifests/analytics_cluster/java.pp
index 330aeba..b47a286 100644
--- a/modules/role/manifests/analytics_cluster/java.pp
+++ b/modules/role/manifests/analytics_cluster/java.pp
@@ -10,4 +10,11 @@
package { 'icedtea-7-jre-jamvm':
ensure => 'absent'
}
+
+ # Make sure file.encoding is UTF-8 for all java processes.
+ # This should help avoid bugs like T128295.
+ file_line { 'java_tool_options_file_encoding_utf_8':
+ line => 'JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8"',
+ path => '/etc/environment',
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/276010
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I05f989c369f909ed8b31301a7cdf5a8681bd5a4a
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits