Commit graph

393 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Hunter Haugen
9b16583964 Merge pull request #214 from ghoneycutt/enable_travis_fast_finish
Enable fast finish in Travis
2014-01-23 10:03:16 -08:00
Garrett Honeycutt
c8c365718f Enable fast finish in Travis
http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2014-01-23 12:47:51 -05:00
Ashley Penney
1ce7dbb4c3 Merge pull request #208 from apenney/ppa-debian
Ensure apt::ppa fails on non-Ubuntu.
2014-01-09 15:28:20 -08:00
Ashley Penney
ec3ddbe372 Merge pull request #207 from apenney/add-params
Add additional acceptance testing.
2014-01-09 15:28:08 -08:00
Ashley Penney
04ca249ee0 Fixes to make the tests run under Debian as well as Ubuntu. 2014-01-09 18:26:32 -05:00
Ashley Penney
558954bedf Ensure apt::ppa fails on non-Ubuntu. 2014-01-09 14:35:17 -05:00
Ashley Penney
c2f0ed219e Improve apt::force tests and ensure cleanup happens consistently. 2014-01-09 14:26:59 -05:00
Ashley Penney
16e57d4e45 Add additional acceptance testing.
This work adds a test for every parameter in every class/define in apt.
2014-01-09 12:09:22 -05:00
Ashley Penney
51350aaaf1 Merge pull request #206 from apenney/beaker-rspec
Convert existing tests over to beakr-rspec.
2014-01-06 15:04:43 -08:00
Ashley Penney
661c6731d7 Convert existing tests over to beakr-rspec. 2014-01-06 17:39:48 -05:00