Commit graph

454 commits

Author SHA1 Message Date
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
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
Richard Pijnenburg
440484d26a Add spec test to test for failure 2014-02-27 10:23:11 +01:00
Hunter Haugen
fd3e07e58f Merge branch '1.4.x' 2014-02-26 14:13:57 -08:00
Daniel Tremblay
46606c9a2b Add ability to specify hash of apt sources in hiera
This patch uses create_resources() to call apt::source which lets you
specify your sources in hiera.
2014-02-26 09:15:37 -05:00
Richard Pijnenburg
95c0634897 Fix fail message
the fail message was including a fact that was not used in the whole case statement and caused some confusion.
2014-02-26 11:52:54 +01:00
Hunter Haugen
1210d390d8 Merge branch 'fix_pin_quotes' into 1.4.x 2014-02-25 11:34:43 -08:00
Hunter Haugen
0a645c53ff Pin quotes were removed for a Lucid bugfix 2014-02-25 11:34:12 -08:00
Hunter Haugen
20e801b86c Merge branch 'missed_one' into 1.4.x 2014-02-25 11:12:40 -08:00
Martin Konrad
31918a9488 Update Debian signing key for backports.
(cherry picked from commit d5efdf0016)
2014-02-25 11:11:53 -08:00
Hunter Haugen
881caafefb Merge pull request #246 from hunner/buncha_picks
Buncha picks
2014-02-25 09:58:36 -08:00
Henrik Ahlgren
eb40a7ae78 Make apt.conf.d/proxy world readable and add a newline 2014-02-25 19:57:10 +02:00
Daniele Sluijters
b92eec5ea1 README: Fix white space / mixed indents.
(cherry picked from commit 47c8def0f7)
2014-02-25 09:48:54 -08:00
Daniele Sluijters
14bf004381 README/LICENSE: Fix licensing.
Closes #152

(cherry picked from commit 08c1283437)
2014-02-25 09:48:54 -08:00
Martin Konrad
2a2620f597 Update out-of-date Debian signing key in remaining files.
(cherry picked from commit 3aa293a53f)
2014-02-25 09:47:37 -08:00
Konrad Lother
334f4030a7 changed proxy_host default value from false to undef. fixes #211
(cherry picked from commit 0207fcd19a)
2014-02-25 09:46:09 -08:00
Daniel Lawrence
b4e430f4db Force owner and mode on ppa files
(cherry picked from commit 0bf44fc167)
2014-02-25 09:44:52 -08:00
Matt Callaway
bffef4142a Update pin_spec test to match quote removal.
(cherry picked from commit d28dc494aa)
2014-02-25 09:43:47 -08:00
Matt Callaway
5d43c20d1e Remove the quotes from the origin line. This doesn't matter on Ubuntu Precise with apt 0.8, but for those of us still using Ubuntu Lucid, apt 0.7 silently ignores preferences with the quotes.
(cherry picked from commit 3922a1bdf5)
2014-02-25 09:43:47 -08:00
Hunter Haugen
1853951c0f Merge pull request #226 from mark0n/master
Update out of date Debian signing key for backports
2014-02-25 09:34:00 -08:00
Hunter Haugen
0e82e5498f Merge pull request #215 from lotherk/proxy_val_no_boolean
changed proxy_host default value from true to undef. fixes #211
2014-02-25 09:32:12 -08:00
Hunter Haugen
4c9174e517 Merge pull request #227 from daniellawrence/file_perms_apt_ppa
Force owner and mode on ppa files
2014-02-25 09:30:37 -08:00
Hunter Haugen
7875745a8b Merge pull request #216 from genome-vendor/master
Remove the quotes from the "origin" line.
2014-02-25 09:29:15 -08:00
Hunter Haugen
cb53175dbb Merge pull request #229 from daenney/apt-key-ftp
apt_key: Support fetching keys over FTP.
2014-02-25 09:27:51 -08:00
Hunter Haugen
b1a6d08631 Merge pull request #235 from daenney/readme-license-fixes
README and licensing fixes.
2014-02-25 09:27:20 -08:00
Hunter Haugen
01cff19fa8 Merge pull request #240 from daenney/manage-preferences
apt: Allow managing of preferences file.
2014-02-25 09:25:49 -08:00
Ashley Penney
450fadb86a Add lsbdistid facts where appropriate.
(cherry picked from commit 4d188443bc)
2014-02-24 17:17:17 -08:00