qusal/salt/debian-minimal/install.sls

26 lines
562 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
2023-11-13 09:33:28 -05:00
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' and grains['os_family']|lower == 'debian' -%}
include:
- utils.tools.common.update
2023-11-13 09:33:28 -05:00
- dotfiles.copy-x11
- dev.home-cleanup
"{{ slsdotpath }}-configure-locale":
file.replace:
- name: /etc/locale.gen
- pattern: '# en_US.UTF-8 UTF-8'
- repl: 'en_US.UTF-8 UTF-8'
"{{ slsdotpath }}-generate-locale":
cmd.run:
- name: /usr/sbin/locale-gen
- runas: root
{% endif -%}