jbenninghoff / cluster-validation

Scripts to validate that a cluster is ready for MapR Data Platform installation
85 stars 94 forks source link

Add check for LANG="en_US.UTF-8 in audit script #12

Closed dumoulma2 closed 7 years ago

dumoulma2 commented 8 years ago

For non US countries, the install process requires to check for the locale being set to en_US.UTF-8 or else there are all kind of issues post install like not being able to login to MCS or non-english log messages that may cause issues for tech support.

should be easy to add it... i may send a PR later.

jbenninghoff commented 7 years ago

Both audit scripts? Do you mean just check for setting or actually make the setting in the script(s)? e.g. export LANG="en_US.UTF-8"

jbenninghoff commented 7 years ago

export LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 #check with locale util

jbenninghoff commented 7 years ago

Add check in cluster-audit.sh for the mapr/service account: locale | grep -q LANG=en_US.UTF-8

jbenninghoff commented 7 years ago

Added check for LANG and note that it should be en_US.