<commit_before>python-pip:
  pkg.installed:
    - unless: pip -v # if pip works leave it alone

dockerpy-prereqs:
  pkg.installed:
    - pkgs:
      - python-apt
      - git

dockerpy:
  pip.installed:
    - name: git+https://github.com/docker/docker-py.git@1.1.0
    - unless: pip freeze | grep 'docker-py==1.1.0'
    - require:
      - pkg: dockerpy-prereqs

docker-dependencies:
   pkg.installed:
    - pkgs:
      - iptables
      - ca-certificates
      - lxc

docker_repo:
    pkgrepo.managed:
      - repo: 'deb http://get.docker.com/ubuntu docker main'
      - file: '/etc/apt/sources.list.d/docker.list'
      - key_url: salt://common/docker.pgp
      - require_in:
          - pkg: lxc-docker

lxc-docker:
  pkg.installed:
    - version: "1.6.1"
    - require:
      - pkg: docker-dependencies

docker:
  service.running<commit_msg>Yet another docker version bump (1.6.1->1.6.2).<commit_after>python-pip:
  pkg.installed:
    - unless: pip -v # if pip works leave it alone

dockerpy-prereqs:
  pkg.installed:
    - pkgs:
      - python-apt
      - git

dockerpy:
  pip.installed:
    - name: git+https://github.com/docker/docker-py.git@1.1.0
    - unless: pip freeze | grep 'docker-py==1.1.0'
    - require:
      - pkg: dockerpy-prereqs

docker-dependencies:
   pkg.installed:
    - pkgs:
      - iptables
      - ca-certificates
      - lxc

docker_repo:
    pkgrepo.managed:
      - repo: 'deb http://get.docker.com/ubuntu docker main'
      - file: '/etc/apt/sources.list.d/docker.list'
      - key_url: salt://common/docker.pgp
      - require_in:
          - pkg: lxc-docker

lxc-docker:
  pkg.installed:
    - version: "1.6.2"
    - require:
      - pkg: docker-dependencies

docker:
  service.running
{'fraction_non_alphanumeric': 0.13911525029103608, 'fraction_numerical': 0.013969732246798603, 'mean_word_length': 2.047872340425532, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '1321329', 'n_tokens_mistral': 702, 'n_tokens_neox': 623, 'n_words': 118}