Skip to content

Commit

Permalink
fix locale on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
gtmanfred committed Oct 29, 2018
1 parent d5233e9 commit a808b26
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion locale.sls
Expand Up @@ -29,17 +29,22 @@ suse_local:
- onlyif: systemctl daemon-reload
{% elif grains.os_family == 'Debian' %}
deb_locale:
file.touch:
- name: /etc/default/keyboard # ubuntu is stupid and this file has to exist for systemd-localed to be able to run
pkg.installed:
- pkgs:
- locales
- console-data
{% if grains.get('init') == 'systemd' %}
- dbus
service.running:
- name: dbus.socket
- names:
- dbus.socket
- systemd-localed.service
{%- endif %}
{% endif %}


{% set arch = True if grains['os_family'] == 'Arch' else False %}
{% if arch %}
accept_LANG_sshd:
Expand Down

0 comments on commit a808b26

Please sign in to comment.