<commit_before>debian.wheezy-backports:
  pkgrepo.managed:
    - humanname: Debian Wheezy backports repository
    - name: deb http://mirrors.kernel.org/debian wheezy-backports main contrib
    - dist: wheezy-backports
    - file: /etc/apt/sources.list.d/wheezy-backports.list

pkg-mozilla-archive-keyring:
  pkg.installed

debian.wheezy-mozilla:
  pkgrepo.managed:
    - humanname: Debian Wheezy Mozilla repository
    - name: deb http://mozilla.debian.net/ wheezy-backports iceweasel-release
    - dist: wheezy-backports
    - file: /etc/apt/sources.list.d/wheezy-mozilla.list
    - require:
      - pkg: pkg-mozilla-archive-keyring

{% if salt['pillar.get']('debian:repos:jessie') -%}
debian.jessie:
  pkgrepo.managed:
    - humanname: Debian Jessie repository
    - name: deb http://mirrors.kernel.org/debian jessie main contrib
    - dist: jessie
    - file: /etc/apt/sources.list.d/jessie.list

/etc/apt/preferences.d/jessie.pref:
  file.managed:
    - source: salt://debian/files/apt_preferences.jessie.conf
    - user: root
    - group: root
    - mode: 644
{%- endif %}

{% if salt['pillar.get']('debian:repos:sid') -%}
debian.sid:
  pkgrepo.managed:
    - humanname: Debian Sid repository
    - name: deb http://mirrors.kernel.org/debian sid main contrib
    - dist: sid
    - file: /etc/apt/sources.list.d/sid.list<commit_msg>Default to upgrade to Debian Jessie when necessary<commit_after>debian.wheezy-backports:
  pkgrepo.managed:
    - humanname: Debian Wheezy backports repository
    - name: deb http://mirrors.kernel.org/debian wheezy-backports main contrib
    - dist: wheezy-backports
    - file: /etc/apt/sources.list.d/wheezy-backports.list

pkg-mozilla-archive-keyring:
  pkg.installed

debian.wheezy-mozilla:
  pkgrepo.managed:
    - humanname: Debian Wheezy Mozilla repository
    - name: deb http://mozilla.debian.net/ wheezy-backports iceweasel-release
    - dist: wheezy-backports
    - file: /etc/apt/sources.list.d/wheezy-mozilla.list
    - require:
      - pkg: pkg-mozilla-archive-keyring

{% if salt['pillar.get']('debian:repos:jessie', true) -%}
debian.jessie:
  pkgrepo.managed:
    - humanname: Debian Jessie repository
    - name: deb http://mirrors.kernel.org/debian jessie main contrib
    - dist: jessie
    - file: /etc/apt/sources.list.d/jessie.list

/etc/apt/preferences.d/jessie.pref:
  file.managed:
    - source: salt://debian/files/apt_preferences.jessie.conf
    - user: root
    - group: root
    - mode: 644
{%- endif %}

{% if salt['pillar.get']('debian:repos:sid') -%}
debian.sid:
  pkgrepo.managed:
    - humanname: Debian Sid repository
    - name: deb http://mirrors.kernel.org/debian sid main contrib
    - dist: sid
    - file: /etc/apt/sources.list.d/sid.list
{'fraction_non_alphanumeric': 0.13654766286345232, 'fraction_numerical': 0.002208317997791682, 'mean_word_length': 3.0506706408345754, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5660627', 'n_tokens_mistral': 1048, 'n_tokens_neox': 964, 'n_words': 177}