Commit graph

484 commits

Author SHA1 Message Date
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
Hunter Haugen
9eaa3a43aa Merge pull request #244 from apenney/fix-tests
Add lsbdistid facts where appropriate.
2014-02-24 16:14:59 -08:00
Ashley Penney
4d188443bc Add lsbdistid facts where appropriate. 2014-02-24 22:31:16 +00:00
Hunter Haugen
2b9eb2949a Merge pull request #242 from hunner/add_unsup
Add non Debian os family unsupported test.
2014-02-24 13:56:21 -08:00
Ashley Penney
0a93286ff8 Merge pull request #241 from hunner/add_unsup
Add non Debian os family unsupported test.
2014-02-24 16:53:41 -05:00
Hunter Haugen
f6816c6bb3 Add non Debian os family unsupported test. 2014-02-24 13:52:13 -08:00
Hunter Haugen
944f9d5064 Merge branch '1.4.x' 2014-02-24 13:36:48 -08:00
Daniele Sluijters
2ca97c8210 apt: Allow managing of preferences file.
We already had a feature to manage and purge entries in preferences.d
but not the preferences file in /etc/apt. This commit adds that
capability.

Fixes #199
2014-02-22 11:00:22 +01:00
Hunter Haugen
fae2835947 Merge pull request #239 from hunner/fix_builddep
Use smaller build-dep package
2014-02-21 11:55:59 -08:00
Hunter Haugen
afeaf57126 Use smaller build-dep package 2014-02-21 11:55:16 -08:00
Ashley Penney
5a7d019a14 Merge pull request #238 from hunner/clean_conditional
Using rspec filters works better
2014-02-21 14:47:52 -05:00
Hunter Haugen
e2b7ef2da2 Using rspec filters works better
And this will make merging back to master cleaner
2014-02-21 11:45:21 -08:00
Hunter Haugen
d0b8ed8f64 Merge pull request #237 from hunner/change_port
Port 8080 is a bad choice and bumps into puppetdb
2014-02-21 11:32:10 -08:00
Daniele Sluijters
47c8def0f7 README: Fix white space / mixed indents. 2014-02-21 18:43:18 +01:00
Daniele Sluijters
08c1283437 README/LICENSE: Fix licensing.
Closes #152
2014-02-21 18:43:18 +01:00
Hunter Haugen
6f46fba2af Merge pull request #234 from hunner/fix_dash_tests
Missed the - for -y, but also tests were missing lsbdistid
2014-02-21 09:36:25 -08:00
Hunter Haugen
8453d40138 Missed the - for -y, but also tests were missing lsbdistid 2014-02-21 09:34:46 -08:00
Daniele Sluijters
c3b3f5bb42 apt_key: Support fetching keys over FTP. 2014-02-21 09:06:47 +01:00
Hunter Haugen
b7b4153e91 Merge pull request #231 from hunner/fix_ppa_options
Don't pass options to ppa on lucid
2014-02-20 23:14:14 -08:00
Hunter Haugen
904fb4a293 Don't pass options to ppa on lucid
Lucid (10.04) has `add-apt-repository` but it doesn't accept any
options. The define defaulted to `-y` but this changes that on lucid.

This was made 7 months ago, so apparently no one cares about 10.04 any
more.
2014-02-20 16:43:48 -08:00
Ashley Penney
296fdd2173 Make sure we handle PE properly. 2014-02-19 20:01:12 +00:00