Commit graph

630 commits

Author SHA1 Message Date
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
Ashley Penney
ccc2c5fa0e Merge pull request #262 from daenney/shrink-test-matrix
Remove ancient Puppet versions from matrix.
2014-03-07 12:24:20 -05:00
Daniele Sluijters
411ef1b0db Remove ancient Puppet versions from matrix.
With PE 3.2 out of the door shipping with 3.4.3 I think it's time to
shrink the matrix and get rid of 3.1 and 3.2. PE 3.x customers should
just upgrade to 3.2, OS users should really be on 3.3+ by now.
2014-03-07 16:10:54 +01:00
Richard Pijnenburg
4d0bf7cbab Fail early when its not debian or ubuntu ( or debian like distro ) 2014-03-07 16:03:44 +01:00
Hunter Haugen
4d2819f7f4 Merge pull request #193 from ianunruh/feature/retry-update
Added retry to update operation
2014-03-06 09:52:44 -08:00
Ian Unruh
7b932be82c Updated documentation 2014-03-05 16:01:37 -06:00
Ian Unruh
824da679d4 Added retry to update operation 2014-03-05 15:59:21 -06:00
Hunter Haugen
a35c30fe4b Merge pull request #209 from pabl0/proxy
Make apt.conf.d/proxy world readable and add a newline
2014-03-05 11:15:26 -08:00
Hunter Haugen
de095a173f Merge pull request #249 from ghoneycutt/define_apt_source_in_hiera
Add ability to specify hash of apt sources in hiera
2014-03-05 11:06:43 -08:00
Ashley Penney
c8c7659b0b Merge pull request #258 from sodabrew/patch-1
Add Ubuntu Trusty
2014-03-05 13:17:12 -05:00
Ashley Penney
3917e080f3 Merge pull request #259 from daenney/apt-hold
apt::hold: Add a mechanism to hold a package.
2014-03-05 13:16:38 -05:00
Ashley Penney
791be559ba Merge pull request #260 from daenney/zomg-ze-chars
pin: Replace invalid chars with _ in file names.
2014-03-05 13:16:24 -05:00
Daniele Sluijters
b560fa265f pin: Replace invalid chars with _ in file names.
This needs to be merged for #259 to work.
2014-03-05 19:11:13 +01:00
Ashley Penney
ab6f6d3146 Merge pull request #230 from daenney/apt-key-defined
Rework apt::key to use apt_key.
2014-03-05 12:54:02 -05:00
Ashley Penney
ba0c733744 Merge pull request #261 from hunner/remove_autorelease
Remove autorelease
2014-03-05 12:17:55 -05:00
Hunter Haugen
722c419825 Remove autorelease 2014-03-05 09:14:39 -08:00
Daniele Sluijters
b2ae1cb08d Update the README about apt_key and apt::key. 2014-03-05 15:04:18 +01:00
Daniele Sluijters
519babcfb6 apt::hold: Add a mechanism to hold a package.
I am aware this can be done with `dpkg --set-selections`, `apt-mark`
or `ensure => 'held'` on a package resource. The changes to the README
include the full rationale for wanting another mechanism.
2014-03-05 10:13:42 +01:00
Aaron Stone
f110d4a366 Oneiric is available on the old-releases mirror 2014-03-04 12:51:32 -08:00
Aaron Stone
62ea527c3e Remove hardy, maverick, natty
They are not on the mirrors anymore.
2014-03-04 12:50:37 -08:00
Aaron Stone
cba6bb4a42 Add Ubuntu Trusty
It's in Beta now and has landed on the main mirrors.
2014-03-04 12:46:27 -08:00
Daniele Sluijters
5790341890 apt:🔑 Redo apt::key, make it use apt_key.
Introducing a totally rewritten and tested apt::key. This commit also
patches the spec's of apt::source because it was passing in data that
is no longer allowed by the new validation rules in apt::key.

It does its best to not touch any other specs and where we touch them
only minimally to ensure that we're not introducing breaking changes.
2014-03-04 16:39:58 +01:00
Hunter Haugen
7cc875aadc Merge pull request #257 from apenney/last-minute-fix-metadata
Add back in missing fields to work around Puppet bug.
2014-03-03 13:59:05 -08:00
Ashley Penney
dc47271716 Add back in missing fields to work around Puppet bug. 2014-03-03 21:39:10 +00:00
Hunter Haugen
cc94daa8c8 Merge pull request #256 from apenney/supported-142
Prepare supported module 1.4.2
2014-03-03 11:55:45 -08:00
Ashley Penney
42d7c22178 Prepare supported module 1.4.2 2014-03-03 19:10:20 +00:00
Hunter Haugen
568d0f3afd Merge pull request #253 from apenney/add-metadata
Prepare metadata for supported module release.
2014-03-03 10:26:45 -08:00
Ashley Penney
ab03a989df Prepare metadata for supported module release. 2014-03-03 17:36:49 +00:00
Ashley Penney
700c7b41e2 Merge pull request #255 from laurenrother/1.4.x
Add "Release Notes/Known Bugs" to Changelog
2014-03-03 11:51:13 -05:00