##########
# KOHA-COMMON
##########

local-apt-repo-priority:
  file.managed:
    - name: /etc/apt/preferences.d/local-apt-repo
    - source: salt://koha/files/local-apt-repo.tmpl

deichmanrepo:
  pkgrepo.managed:
    - name: deb http://datatest.deichman.no/repositories/koha/public/ wheezy main
    - watch:
      - file: local-apt-repo-priority

koharepo:
  pkgrepo.managed:
    - name: deb http://debian.koha-community.org/koha stable main
    - key_url: http://debian.koha-community.org/koha/gpg.asc

koha-common:
  pkg.installed:
    - skip_verify: True
    - version: 3.23.00+201605061612~patched
    - require:
      - pkgrepo: deichmanrepo
      - pkgrepo: koharepo

##########
# KOHA-COMMON
##########

local-apt-repo-priority:
  file.managed:
    - name: /etc/apt/preferences.d/local-apt-repo
    - source: salt://koha/files/local-apt-repo.tmpl

deichmanrepo:
  pkgrepo.managed:
    - name: deb http://datatest.deichman.no/repositories/koha/public/ wheezy main
    - watch:
      - file: local-apt-repo-priority

koharepo:
  pkgrepo.managed:
    - name: deb http://debian.koha-community.org/koha stable main
    - key_url: http://debian.koha-community.org/koha/gpg.asc

koha-common:
  pkg.installed:
    - skip_verify: True
    - version: 3.23.00+201605092307~patched
    - require:
      - pkgrepo: deichmanrepo
      - pkgrepo: koharepo

Upgrade to 3.23.00+201605092307~patched - checkouts API
Upgrade to 3.23.00+201605092307~patched - checkouts API

digibib/koha-salt-docker,digibib/koha-salt-docker,digibib/koha-salt-docker,digibib/koha-docker,digibib/koha-docker,digibib/koha-docker,digibib/koha-docker,digibib/koha-salt-docker,digibib/koha-salt-docker,digibib/koha-docker,digibib/koha-docker