summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-08-29 18:31:42 +0200
committervarac <varacanero@zeromail.org>2016-08-30 19:49:43 +0200
commitdadac49e55f19e7ac814ae798dcfb87fddbef0ba (patch)
tree4e2f5d1b768227de816dd8ce3a088ef4bf9f6592 /puppet/modules/site_apt/manifests
parentba45bf0472573d7e8646376a4a2a5a71c764e6b9 (diff)
[feat] Use twisted 16.2 from jessie-backports
New soledad packages now depend on Twisted 16.2.0 (see https://leap.se/code/issues/8412), so we need to pin twisted to get installed from jessie-backports. - Resolves: #8418
Diffstat (limited to 'puppet/modules/site_apt/manifests')
-rw-r--r--puppet/modules/site_apt/manifests/preferences/twisted.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/manifests/preferences/twisted.pp b/puppet/modules/site_apt/manifests/preferences/twisted.pp
new file mode 100644
index 00000000..a3fa0950
--- /dev/null
+++ b/puppet/modules/site_apt/manifests/preferences/twisted.pp
@@ -0,0 +1,11 @@
+# Pin twisted to jessie-backports in order to
+# use 16.2.0 for i.e. soledad
+class site_apt::preferences::twisted {
+
+ apt::preferences_snippet { 'twisted':
+ package => 'python-twisted*',
+ release => "${::lsbdistcodename}-backports",
+ priority => 999;
+ }
+
+}