diff options
author | Varac <varac@leap.se> | 2017-06-27 16:12:37 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-06-27 20:14:09 +0200 |
commit | 98b6713afff0eec77fdbfe5d1a079607e6ed5b2c (patch) | |
tree | 6a05dadfd3134a5137c899b9c4554c665511d81b /puppet/modules/site_apt/templates | |
parent | 772f075768cb5aa2481d9d696be36e4762d19024 (diff) |
Install python-treq from strech on jessie nodes
New soledad-common depends on `python-treq`, which
is only available in debian stretch.
We pin all stretch packages to 1 (same as for sid), which
means (from `man apt_preferences`):
"causes a version to be installed only if there is no
installed version of the package"
- Resolves: #8836
Diffstat (limited to 'puppet/modules/site_apt/templates')
-rw-r--r-- | puppet/modules/site_apt/templates/Debian/preferences_jessie.erb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/templates/Debian/preferences_jessie.erb b/puppet/modules/site_apt/templates/Debian/preferences_jessie.erb new file mode 100644 index 00000000..879885dd --- /dev/null +++ b/puppet/modules/site_apt/templates/Debian/preferences_jessie.erb @@ -0,0 +1,19 @@ +Explanation: Debian jessie +Package: * +Pin: release o=Debian,n=jessie +Pin-Priority: 990 + +Explanation: Debian stretch +Package: * +Pin: release o=Debian,n=stretch +Pin-Priority: 1 + +Explanation: Debian sid +Package: * +Pin: release o=Debian,n=sid +Pin-Priority: 1 + +Explanation: Debian fallback +Package: * +Pin: release o=Debian +Pin-Priority: -10 |