mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-07 02:45:21 +00:00
29 lines
536 B
Plaintext
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
|