summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-10-16 20:55:17 +0200
committervarac <varacanero@zeromail.org>2013-10-16 22:27:08 +0200
commitd84dfddb0dfc2e5207c90380fb1f7fcf7bc7a72d (patch)
treec9d40ec88e5aae4e600dcad695edfe90347a1544 /manifests
parente5bbb903159a94dc3357344d78060343ef47bac8 (diff)
pin depending packages from squeeze for the bigcouch package
Diffstat (limited to 'manifests')
-rw-r--r--manifests/bigcouch/package/cloudant.pp17
1 files changed, 12 insertions, 5 deletions
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'
}
}
-
}