salt-common/sls/lib/glibc.sls
Alexander Miroshnichenko 7a2072cefb
gentoo: update locale
2019-09-20 14:30:28 +03:00

29 lines
536 B
Plaintext

{% import 'pkg/common' as pkg %}
include:
- gentoo.portage.packages
sys-libs/glibc:
pkg.latest:
- oneshot: True
- require:
- file: /etc/locale.gen
- file: gentoo.portage.packages
- pkgs:
- {{ pkg.gen_atom('sys-libs/glibc') }}
/etc/locale.gen:
file.managed:
- mode: 644
- user: root
- group: root
- contents: |
en_US.UTF-8 UTF-8
en_IE.UTF-8 UTF-8
en_DK.UTF-8 UTF-8
ru_RU.UTF-8 UTF-8
locale-gen:
cmd.wait:
- watch:
- file: /etc/locale.gen