Solaris fact fix (#24793)
* ensure locale for solaris fact gathering fixes issue with locale interfering with proper reading of decimals fixes #24542 * fixed typoe
This commit is contained in:
parent
61060b66c2
commit
e558ec19cd
1 changed files with 1 additions and 0 deletions
|
@ -1618,6 +1618,7 @@ class SunOSHardware(Hardware):
|
||||||
platform = 'SunOS'
|
platform = 'SunOS'
|
||||||
|
|
||||||
def populate(self):
|
def populate(self):
|
||||||
|
self.module.run_command_environ_update = {'LANG': 'C', 'LC_ALL': 'C', 'LC_NUMERIC': 'C'}
|
||||||
self.get_cpu_facts()
|
self.get_cpu_facts()
|
||||||
self.get_memory_facts()
|
self.get_memory_facts()
|
||||||
self.get_dmi_facts()
|
self.get_dmi_facts()
|
||||||
|
|
Loading…
Reference in a new issue