salt.states.locale
Management of languages/locales
Manage the available locales and the system default:
us_locale: locale.present: - name: en_US.UTF-8 default_locale: locale.system: - name: en_US.UTF-8 - require: - locale: us_locale
-
Generate a locale if it is not present
New in version 2014.7.0.
- name
-
The name of the locale to be present. Some distributions require the charmap to be specified as part of the locale at this point.
salt.states.locale.present(name)
-
Set the locale for the system
- name
-
The name of the locale to use
salt.states.locale.system(name)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.locale.html