CDIST-TYPE__LOCALE(7)

πŸ’– cdist-type__locale β€” the manual page, but make it cute πŸ’–

ok so bestie, welcome to cdist-type__locale(7) ✨ this is the cdist manual page for the __locale type and we're gonna get you fluent, fr fr.


🌸 NAME 🌸

cdist-type__locale β€” configure locales. that's the whole vibe. locales. iconic.


✨ DESCRIPTION ✨

so this cdist type lets you set up locales πŸ’… that's it, that's the job.

but wait β€” plot twist 🫣 β€” on systems that don't support locale setting, like alpine/musl libc, this type is literally a no-op. like it just... does nothing. shows up, says hi, leaves. main character energy of doing absolutely nothing and getting away with it πŸ’€


πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

  • state β€” can be 'present' or 'absent', and it defaults to present. so if you don't say anything, it's assuming you want the locale to exist. slay 🫢

🌈 EXAMPLES 🌈

ok bestie here's how it looks in the wild:

# Add locale de_CH.UTF-8
__locale de_CH.UTF-8

# Same as above, but more explicit
__locale de_CH.UTF-8 --state present

# Remove colourful British English
__locale en_GB.UTF-8 --state absent

not me being dramatic about removing en_GB.UTF-8 😭 the original really said "colourful British English" and honestly? correct. anyway.


πŸ¦‹ SEE ALSO πŸ¦‹

go read these too, iykyk:


πŸ‘‘ AUTHORS πŸ‘‘

Nico Schottelius <nico-cdist--@--schottelius.org> β€” the legend themselves ⭐


πŸ’œ COPYING πŸ’œ

Copyright (C) 2013-2019 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License version 3 or later (GPLv3+).

like, free free. go off. but read the license, no cap πŸ“œ


ungleich GmbH 2021


ok that's the whole page bestie, you're officially fluent in __locale πŸ’…βœ¨ version 7.0.0, dated Jul 31, 2022, brought to you by cdist β€” now go configure those locales and be the main character of your own infrastructure πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from