1CDIST-TYPE__LOCALE_SYSTEM(7)         cdist        CDIST-TYPE__LOCALE_SYSTEM(7)
2
3
4

NAME

6       cdist-type__locale_system - Set system-wide locale
7

DESCRIPTION

9       This  cdist  type allows you to modify system-wide locale.  The name of
10       the locale category is given as the object id (usually you are probably
11       interested in using LANG).
12

OPTIONAL PARAMETERS

14       state  present  or  absent,  defaults to present.  If present, sets the
15              locale category to the given value.  If absent, removes the  lo‐
16              cale category from the system file.
17
18       value  The value for the locale category.  Defaults to en_US.UTF-8.
19

EXAMPLES

21          # Set LANG to en_US.UTF-8
22          __locale_system LANG
23
24          # Same as above, but more explicit
25          __locale_system LANG --value en_US.UTF-8
26
27          # Set category LC_MESSAGES to de_CH.UTF-8
28          __locale_system LC_MESSAGES --value de_CH.UTF-8
29
30          # Remove setting for LC_ALL
31          __locale_system LC_ALL --state absent
32

SEE ALSO

34       locale(1), localedef(1), cdist-type__locale(7)
35

AUTHORS

37       Steven Armstrong <steven-cdist--@--armstrong.cc>
38       Carlos Ortigoza <carlos.ortigoza--@--ungleich.ch>
39       Nico Schottelius <nico.schottelius--@--ungleich.ch>
40
41

COPYING

43       Copyright  (C)  2016  Nico  Schottelius.  Free  use of this software is
44       granted under the terms of the GNU General Public License version 3  or
45       later (GPLv3+).
46
48       ungleich GmbH 2021
49
50
51
52
537.0.0                            Jul 31, 2022     CDIST-TYPE__LOCALE_SYSTEM(7)
Impressum