Commit graph

454 commits

Author SHA1 Message Date
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
Ashley Penney
738ef15316 Merge pull request #228 from apenney/add-pe
Make sure we handle PE properly.
2014-02-19 14:54:00 -05:00
Ashley Penney
bafc11df76 Make sure we handle PE properly. 2014-02-19 19:52:05 +00:00
Ashley Penney
c9443f9e50 Merge pull request #212 from daenney/apt-key
apt_key type/provider
2014-02-19 10:03:57 -05:00
Daniel Lawrence
0bf44fc167 Force owner and mode on ppa files 2014-02-19 11:41:01 +11:00
Martin Konrad
3aa293a53f Update out-of-date Debian signing key in remaining files. 2014-02-18 16:57:01 -05:00
Daniele Sluijters
9ade658b7a Travis: Remove 3.0, add newer 3.x releases.
3.0 is just broken in tests, something is wrong with the module loading
rendering tests completely useless.

Start testing on Puppet 3.3 and 3.4.
2014-02-18 22:51:08 +01:00
Daniele Sluijters
374101612c Add a type and provider to manage apt keys.
This commits introduces:
 * The apt_key type;
 * The apt_key provider;
 * Unit tests for the type;
 * Beaker/acceptance tests for the type/provider.

The idea behind apt_key is that apt::key will simply become a wrapper
that uses apt_key. Being a native type/provider apt_key is a lot less
error prone than the current exec behaviour of apt::key and adds a few
nice bonuses like inventory capabilities for mcollective users.
2014-02-18 22:51:08 +01:00
Martin Konrad
d5efdf0016 Update Debian signing key for backports. 2014-02-18 13:37:05 -05:00
Matt Callaway
d28dc494aa Update pin_spec test to match quote removal. 2014-02-18 08:08:19 -06:00
Ashley Penney
a797bd7412 Merge pull request #223 from daenney/apt-pin-array
apt::pin: Allow for packages to be an array.
2014-02-16 11:54:06 -05:00
Daniele Sluijters
ffe55a9758 beaker: Randomize SSH port. 2014-02-16 14:51:39 +01:00
Daniele Sluijters
ef7d149d5a apt::pin: Allow for packages to be an array. 2014-02-16 14:51:39 +01:00
Hunter Haugen
3be1f4323f Merge pull request #224 from hunner/change_port
Port 8080 is a bad choice and bumps into puppetdb
2014-02-14 16:40:13 -08:00
Hunter Haugen
80ea5a72ca Port 8080 is a bad choice and bumps into puppetdb 2014-02-14 16:17:44 -08:00
Hunter Haugen
4b8aa9e55a Revert "Undo backwards-incompatible changes and features."
This reverts commit f9e2fe2a7c.
2014-02-14 14:49:43 -08:00
Hunter Haugen
a2505b6e66 Merge branch '1.4.x' 2014-02-14 14:49:34 -08:00
Hunter Haugen
f9247b55aa Merge branch 'release_1.4.1' into 1.4.x 2014-02-14 14:49:14 -08:00
Hunter Haugen
291c47eb06 Release 1.4.1
Summary:
This is a bugfix release.

Bugfixes:
- Fix apt::force unable to upgrade packages from releases other than its original
- Removed a few refeneces to aptitude instead of apt-get for portability
- Removed call to getparam() due to stdlib dependency
- Correct apt::source template when architecture is provided
- Retry package installs if apt is locked
- Use root to exec in apt::ppa
- Updated tests and converted acceptance tests to beaker
2014-02-14 14:36:03 -08:00
Hunter Haugen
398309fc37 Enforce dependency version in tests 2014-02-14 14:34:37 -08:00
Hunter Haugen
3876813845 Add foss types to nodesets 2014-02-14 14:34:08 -08:00
Hunter Haugen
f9e2fe2a7c Undo backwards-incompatible changes and features.
Undoes the parameter changes in #140 and #184
2014-02-14 14:33:30 -08:00
Ashley Penney
3b42983b9d Merge pull request #219 from justinstoller/gemsource
allow specifying gem source via env var
2014-02-11 10:30:28 -05:00
Ashley Penney
5ddea496f5 Merge pull request #220 from justinstoller/puppet_lint
Use Puppet lint and ignore its warnings?
2014-02-11 10:30:19 -05:00
Justin Stoller
07e3f74d57 put disabled checks in .puppet-lint.rc for non rake usage 2014-02-08 22:33:06 -08:00
Justin Stoller
63277db4f1 allow specifying gem source via env var 2014-02-08 22:28:45 -08:00
Justin Stoller
fcdbafd74b disable lint check for single quoted variables
Previously we weren't linting, there's a number of warning but there was
only one actual error reported when linting was enabled.  It was
erroring on a valid usage of a single quoted variable-like string.
To allow linting to succeed (and the warning to show themselves) I've
disable the check that is giving a false positive.
2014-02-08 22:22:47 -08:00
Justin Stoller
386c48bad0 include puppet-lint in the bundle and rake tasks 2014-02-08 22:21:34 -08:00
Matt Callaway
3922a1bdf5 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. 2014-01-31 15:56:28 -06:00
Konrad Lother
5285b584dd Merge branch 'proxy_val_no_boolean' of github.com:lotherk/puppetlabs-apt into proxy_val_no_boolean 2014-01-30 00:56:06 +01:00
Konrad Lother
0207fcd19a changed proxy_host default value from false to undef. fixes #211 2014-01-30 00:55:22 +01:00