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.2.2
    - unless: pip freeze | grep 'docker-py==1.2.2'
    - 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.7.0"
    - require:
      - pkg: docker-dependencies

docker:
  service.running:
    - watch:
      - pkg: lxc-docker

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.2.2
    - unless: pip freeze | grep 'docker-py==1.2.2'
    - 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.7.1"
    - require:
      - pkg: docker-dependencies

docker:
  service.running:
    - watch:
      - pkg: lxc-docker

Upgrade Docker 1.7.0 -> 1.7.1.
Upgrade Docker 1.7.0 -> 1.7.1.

https://github.com/docker/docker/blob/master/CHANGELOG.md

digibib/ls.ext,digibib/ls.ext,digibib/ls.ext,digibib/ls.ext