Skip to content
Snippets Groups Projects
Select Git revision
  • c867268a8c6408712c5219dcd096a9e057b4fcb3
  • master default protected
  • hsh-2025073100
  • hsh-2025012100
  • hsh-2024111900
  • hsh-2024072400
  • hsh-2024060300
  • hsh-2024012900
  • hsh-2023121100
  • hsh-v1.1.9
  • hsh-v1.1.7
11 results

build.sh

Blame
  • 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 %}