From d84dfddb0dfc2e5207c90380fb1f7fcf7bc7a72d Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 16 Oct 2013 20:55:17 +0200 Subject: pin depending packages from squeeze for the bigcouch package --- manifests/bigcouch/package/cloudant.pp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'manifests') diff --git a/manifests/bigcouch/package/cloudant.pp b/manifests/bigcouch/package/cloudant.pp index 88ee8da..e9c89f8 100644 --- a/manifests/bigcouch/package/cloudant.pp +++ b/manifests/bigcouch/package/cloudant.pp @@ -4,20 +4,27 @@ class couchdb::bigcouch::package::cloudant { # http://packages.cloudant.com/KEYS, please use the apt module to # distribute it on your servers after verifying its fingerprint + # cloudant's wheezy repo will fail cause in their Release file + # (http://packages.cloudant.com/debian/dists/wheezy/Release) they + # wrongly marked the packages for squeeze + # so we will use their squeeze repo here apt::sources_list {'bigcouch-cloudant.list': content => 'deb http://packages.cloudant.com/debian squeeze main' } - # right now, cloudant only provides authenticated ibigcouch 0.4.2 packages - # for squeeze, therefore we need to include squeeze repo for depending - # packages + # right now, cloudant only provides authenticated bigcouch 0.4.2 packages + # for squeeze, therefore we need to allow the installation of the depending + # packages libicu44 and libssl0.9.8 from squeeze if $::lsbdistcodename == 'wheezy' { apt::sources_list {'squeeze.list': content => 'deb http://http.debian.net/debian squeeze main deb http://security.debian.org/ squeeze/updates main -', +' } + apt::preferences_snippet { 'bigcouch_squeeze_deps': + package => 'libicu44 libssl0.9.8', + priority => '980', + pin => 'release o=Debian,n=squeeze' } } - } -- cgit v1.2.3