summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests/preferences/python_cryptography.pp
blob: d725c1afdf7c0ac4d5dc68c663b154840094d41b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Pin python-cryptography to jessie-backports in order to
# satisfy leap-mx dependency (>=17.0)
# see https://0xacab.org/leap/platform/issues/8837
class site_apt::preferences::python_cryptography {

  apt::preferences_snippet { 'python_cryptography':
    package  => 'python-cryptography python-openssl python-pyasn1 python-setuptools python-pkg-resources python-cffi',
    release  => "${::lsbdistcodename}-backports",
    priority => 999;
  }

}