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

NAME

6       cdist-type__localedef - Define and remove system locales
7

DESCRIPTION

9       This  cdist  type  allows  you  to  define  locales on the system using
10       localedef(1) or remove them.  On systems that don't support  definition
11       of new locales, the type will raise an error.
12
13       NB:  This  type  respects  the glibc locale.alias file, i.e. it defines
14       alias locales or deletes aliases of a locale when it is removed.  It is
15       not  possible,  however,  to  use alias names to define locales or only
16       remove certain aliases of a locale.
17

OPTIONAL PARAMETERS

19       state  present or absent. Defaults to present.
20

EXAMPLES

22          # Add locale de_CH.UTF-8
23          __localedef de_CH.UTF-8
24
25          # Same as above, but more explicit
26          __localedef de_CH.UTF-8 --state present
27
28          # Remove colourful British English
29          __localedef en_GB.UTF-8 --state absent
30

SEE ALSO

32       locale(1), localedef(1), cdist-type__locale_system(7)
33

AUTHORS

35       Dennis Camera <dennis.camera--@--ssrq-sds-fds.ch>
36       Nico Schottelius <nico-cdist--@--schottelius.org>
37
38

COPYING

40       Copyright (C) 2013-2019 Nico Schottelius, 2020 Dennis Camera. Free  use
41       of  this  software is granted under the terms of the GNU General Public
42       License version 3 or later (GPLv3+).
43
45       ungleich GmbH 2020
46
47
48
49
506.9.4                            Dec 21, 2020         CDIST-TYPE__LOCALEDEF(7)
Impressum