init.sls 362 B

12345678910111213141516171819202122232425
  1. #
  2. # Configure locales
  3. #
  4. locales:
  5. pkg.installed
  6. # Workaround missing locale.present in our salt version
  7. /etc/locale.gen:
  8. file.managed:
  9. - source: salt://locales/locale.gen
  10. - require:
  11. - pkg: locales
  12. locale-gen:
  13. cmd.wait:
  14. - watch:
  15. - file: /etc/locale.gen
  16. en_US.UTF-8:
  17. locale.system:
  18. - require:
  19. - file: /etc/locale.gen