Skip to content
Snippets Groups Projects
Select Git revision
  • f6fd57692be12b913d65f70e4d5c68448f1150f2
  • master default
2 results

Readme.md

Blame
  • To learn more about this project, read the wiki.
    locale.sls 610 B
    {% from "hshbase/map.jinja" import hshbase with context %}
    
    {% if grains['os'] in ('Debian', 'Ubuntu') and grains['oscodename'] != 'squeeze' %}
    locales:
      pkg.installed
    
    hshbase_locale_system:
      locale.present:
        - name: {{ hshbase.locale.system }}
    
    hshbase_locale_install_system:
      locale.system:
        - name: {{ hshbase.locale.system }}
        - require:
          - locale: hshbase_locale_system
    
    {% for locale in hshbase.locale.present %}
    hshbase_locale_{{ loop.index }}:
      locale.present:
        - name: {{ locale }}
    
    {% endfor %}
    
    {% elif grains['os'] == 'FreeBSD' %}
    
    {# TODO: Should we do that? #}
    
    {% endif %}