From 03ff5b1d22f4487d97818da3693e9a33ba1421a3 Mon Sep 17 00:00:00 2001 From: Varac Date: Tue, 27 Jun 2017 20:26:04 +0200 Subject: Pin python-cryptography to jessie-backports Needed to satisfy leap-mx dependency (>=17.0) - Resolves: #8837 --- .../site_apt/manifests/preferences/python_cryptography.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 puppet/modules/site_apt/manifests/preferences/python_cryptography.pp (limited to 'puppet/modules/site_apt/manifests') diff --git a/puppet/modules/site_apt/manifests/preferences/python_cryptography.pp b/puppet/modules/site_apt/manifests/preferences/python_cryptography.pp new file mode 100644 index 00000000..d725c1af --- /dev/null +++ b/puppet/modules/site_apt/manifests/preferences/python_cryptography.pp @@ -0,0 +1,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; + } + +} -- cgit v1.2.3