Commit graph

508 commits

Author SHA1 Message Date
Ashley Penney
8e0887cafb Merge branch '1.5.x' of https://github.com/puppetlabs/puppetlabs-apt into 1.5.x 2014-05-21 11:19:04 -07:00
Ashley Penney
ba074344fe Merge pull request #300 from apenney/fix-tests
Block this from running on unsupported platforms.
2014-05-21 10:39:46 -07:00
Hunter Haugen
de471c36df Merge pull request #299 from mhaskel/1.5.0-prep
1.5.0 prep
2014-05-20 13:27:40 -07:00
Morgan Haskel
b2381c6673 Fixing lint and adding the trusty nodeset (not sure how that was missed) 2014-05-20 16:24:28 -04:00
Ashley Penney
f335066378 Claim PE3.3 support. 2014-05-15 14:58:49 -04:00
Ashley Penney
d7889cf47b Prepare for 1.5.0. 2014-05-14 16:28:06 -04:00
Ashley Penney
3a4432ad73 Merge pull request #294 from apenney/14x-merge
14x merge
2014-05-14 13:18:18 -04:00
Ashley Penney
7492f375fe Merge branch '1.4.x' into 14x-merge 2014-05-14 13:17:19 -04:00
Ashley Penney
a45c9a8b58 Merge pull request #292 from daenney/test-puppet-35
Drop testing on 3.3, add 3.5.
2014-05-08 10:44:11 -04:00
Daniele Sluijters
b7bd7f43d9 Drop testing on 3.3, add 3.5. 2014-05-08 09:54:08 +02:00
Ashley Penney
d33a4c103f Merge pull request #290 from dpnl87/wheezy-preference-fix
Do not add bogus line to apt preference file on Debian Wheezy
2014-05-05 11:54:52 -04:00
Daniel Paulus
f62678b22e Add dpaulus to the contributors list 2014-05-05 14:39:25 +02:00
Daniel Paulus
ee0233066e Some code cleaning 2014-05-05 12:06:39 +02:00
Daniel Paulus
15630989da Fixed acceptance spec and add debian nodeset 2014-05-05 11:57:42 +02:00
Daniel Paulus
c327d3d7bf Testing if we are not touching the preference file when purge mode is off 2014-05-03 00:13:17 +02:00
Daniel Paulus
36b7b8abff Updated readme to indicate danger of setting preference purge options 2014-05-03 00:06:23 +02:00
Daniel Paulus
e337a24389 Remove the preference file for all supported platforms when in purge mode 2014-05-02 23:35:54 +02:00
Daniel Paulus
d3d6fde6e7 Do not add bogus line to apt preference file on Debian Wheezy 2014-05-02 17:56:06 +02:00
Ashley Penney
84cee791c3 Merge pull request #286 from apenney/fix-for-post-wheezy
unattended_upgrades: Fix matching security archive
2014-04-22 20:46:55 -04:00
Daniele Sluijters
156eaac061 unattended_upgrades: Fix matching security archive
The default configuration we were writing for Debian was only working
for Squeeze, from Wheezy and onwards this wasn't working anymore. This
has to do with the fact that we should now be using Origins-Pattern
according to the unattended-upgrades docs. However, Ubuntu didn't
entirely get with the program yet...

This change reflects the defaults that unattended-upgrade installs on
every platform we support. In order to do so the unattended-upgrades
Debian archive for Squeeze, Wheezy, Lucid, Precise and Trusty were
downloaded and the default /etc/apt/apt.conf.d/50unattended-upgrades
checked for its content with regard to using Allow-Origins or
Origins-Pattern.

Fixes #277
2014-04-23 00:36:40 +02:00
Ashley Penney
dcac07e034 Merge pull request #285 from blkperl/fix_metadata
Fix metadata.json file
2014-04-17 13:00:50 -04:00
Ashley Penney
4c7150a5be Add back in missing fields to work around Puppet bug.
(cherry picked from commit dc47271716)
2014-04-15 15:20:25 -07:00
Ashley Penney
4c8a99b9eb Prepare metadata for supported module release.
(cherry picked from commit ab03a989df)
2014-04-15 15:20:25 -07:00
Ashley Penney
81a3f9d60c Merge pull request #283 from johanfleury/master
Change proxy's configuration file to be consistent with other config files in apt.conf.d
2014-04-12 14:37:40 -04:00
Johan Fleury
9e789255c8 Writing proxy configuration in apt.conf.d/01proxy.
This commit changes the proxy file name to be more consistent with other files
in `apt.conf.d`. The old file (`apt.conf.d/proxy`) is removed.

Tests has been updated.
2014-04-11 13:56:29 +02:00
Lauren Rother
c230e21c1d Add security warning re: short keys
(cherry picked from commit d7da1cef38)
2014-04-07 12:26:39 -07:00
Ashley Penney
d946753dc4 Merge pull request #282 from laurenrother/security
Add security warning re: short keys
2014-04-07 14:06:47 -04:00
Lauren Rother
d7da1cef38 Add security warning re: short keys 2014-04-07 11:05:11 -07:00
Ashley Penney
dfa3a62bd8 Merge pull request #280 from daenney/fix-pin-comments
Fix pin comments
2014-04-03 13:59:51 -04:00
Ashley Penney
3e5668b015 Merge pull request #281 from daenney/unattended-upgrades-squeeze-origins
unattended-upgrades: Fix origins for Squeeze.
2014-04-03 13:59:15 -04:00
Daniele Sluijters
fefd530362 unattended-upgrades: Fix origins for Squeeze.
Because Squeeze is now oldstable we need to add an oldstable line too
otherwise security updates won't be picked up. This is still because we
can't match on codename.
2014-04-02 11:17:04 +02:00
Daniele Sluijters
13788395e6 pin: caller_module_name is not a topscope variable 2014-03-28 08:49:18 +01:00
Daniele Sluijters
9f59f1b33a pin: Fix the template.
In APT preferences files the only allowed comments are lines that start
with `Explanation:`, commented lines that start with a # trigger a
myriad of interesting bugs. This is considered a feature of APT.

Because we're only ever writing a single file at a time with only a #
comment at the top we were getting away with this but it shouldn't be
there in the first place.
2014-03-28 08:47:19 +01:00
Ashley Penney
543f0ccefa Merge pull request #279 from apenney/fix-spacing
Small patch to fix the spacing that makes lint fail.
2014-03-27 12:43:27 -04:00
Ashley Penney
553611b16b Small patch to fix the spacing that makes lint fail. 2014-03-27 16:40:36 +00:00
Ashley Penney
b958fa2595 Merge pull request #278 from daenney/fix-unattended-upgrades
unattended_upgrades: Fix matching security archive
2014-03-27 08:59:51 -04:00
Daniele Sluijters
eaebe2f82d unattended_upgrades: Fix matching security archive
The default configuration we were writing for Debian was only working
for Squeeze, from Wheezy and onwards this wasn't working anymore. This
has to do with the fact that we should now be using Origins-Pattern
according to the unattended-upgrades docs. However, Ubuntu didn't
entirely get with the program yet...

This change reflects the defaults that unattended-upgrade installs on
every platform we support. In order to do so the unattended-upgrades
Debian archive for Squeeze, Wheezy, Lucid, Precise and Trusty were
downloaded and the default /etc/apt/apt.conf.d/50unattended-upgrades
checked for its content with regard to using Allow-Origins or
Origins-Pattern.

Fixes #277
2014-03-27 13:56:25 +01:00
Hunter Haugen
9ebbeae2ec Merge pull request #275 from daenney/backports-pin-priority
backports: Allow setting a custom priority.
2014-03-26 14:53:26 -07:00
Daniele Sluijters
ed52e513db backports: Allow setting a custom priority.
The module used to always pin backports to a priority of 200. This
default is still retained but is now configurable.

Additionally the default is now an Integer, not a 'quoted Integer' and
the tests have been updated to reflect this. This matters for future
parser as it will now kick people if they pass in a stringified integer
as priority.
2014-03-26 19:10:37 +01:00
Hunter Haugen
83cd22eee1 Merge pull request #276 from blkperl/fix_rake
Pin Rake to 10.1.1 in Gemfile
2014-03-26 11:08:14 -07:00
William Van Hevelingen
68ef68363d Pin Rake to 10.1.1 in Gemfile
The latest Rake update requires Ruby >= 1.9. This update
fixes the failing 1.8.7 tests by pinning Rake to the last
supported version on ruby 1.8.7.
2014-03-26 10:53:15 -07:00
Hunter Haugen
c864e5e09b Merge pull request #274 from fdrouet/fix_typo
Fix typo in ppa.pp
2014-03-26 09:56:49 -07:00
Frédéric DROUET
f546dc2d37 Fix typo in ppa.pp 2014-03-20 23:09:07 +01:00
Hunter Haugen
4d8f69d2cc Merge pull request #268 from daenney/apt_key-ftp-weirdness
Use File.expand_path with require.
2014-03-17 10:03:22 -07:00
Daniele Sluijters
cc1f9c8bb9 Use File.expand_path with require.
For some reason, even though our own tests pass with `require
puppet_x/apt_key/patch_openuri` every other module that depends on
puppetlabs-apt is now breaking in tests claiming it can't load that
module.

Somewhere along the way something is probably messing with LOADPATH
causing this to trip up. This should fix the issues for everyone.

This commit affects:
 * puppetlabs/puppetlabs-apt#229
 * puppetlabs/puppetlabs-postgresql#391
2014-03-16 12:51:33 +01:00
Hunter Haugen
f3bd430fa7 Merge pull request #267 from apenney/fix-typo
Fix typo
2014-03-13 13:53:50 -07:00
Ashley Penney
7d058e95d8 Fix typo.
Group was incorrectly spelt, but because the file was absent this
should have resulted in a noop in practice.
2014-03-13 20:03:09 +00:00
Hunter Haugen
6691c2fade Merge pull request #248 from electrical/fix_params_fail
Fix fail message
2014-03-07 10:00:58 -08:00
Ashley Penney
6f10890dad Merge pull request #263 from daenney/remove-puppet-27
Remove testing for Puppet 2.7 compatibility.
2014-03-07 12:35:55 -05:00
Daniele Sluijters
e299f66262 Remove testing for Puppet 2.7 compatibility.
With official supported modules now being a thing and having a version
of the APT module to which we will backport fixes until the next major
release it is time to say goodbye to Puppet 2.7.

So long and thanks for all the fish.
2014-03-07 18:32:37 +01:00