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
Konrad Lother
bbfa2cf1b5
changed proxy_host default value from true to undef. fixes #211
2014-01-30 00:33:45 +01: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
Ashley Penney
8530c66d77
Merge pull request #202 from tsuharesu/bug/exec_apt_ppa_as_root
...
Apt::ppa should exec with root
2014-01-06 13:02:34 -08:00
Ashley Penney
111fa8011f
Merge pull request #205 from braddeicide/master
...
fixed include, contained dash instead of underline.
2014-01-06 13:02:19 -08:00
braddeicide
2ae67cfd31
Change - to _
...
I did it to please my syntax validator, but I'm assuming it wasn't functioning as expected either.
2014-01-03 19:23:00 +11:00
Tsuharesu Luciel
2f6edabc4c
( #201 ) Use root to exec
...
User root is needed to execute this command.
If someone changes the default Exec user, apt-add-repository will fail.
2013-12-30 16:01:56 -02:00
Ashley Penney
5b54eda366
Merge pull request #195 from sd63/include_class-deprecated
...
fix deprecation warning with rspec-puppet 1.0.0 (and newer)
2013-12-08 07:43:51 -08:00
Ryan Tandy
38c0208673
change include_class to contain_class in specs
...
include_class was deprecated starting from rspec-puppet 1.0.0.
2013-12-06 08:33:05 -08:00
Ashley Penney
9b001af877
Merge pull request #186 from ghoneycutt/typos
...
Correct spelling typo in CHANGELOG
2013-12-03 14:55:06 -08:00
Ashley Penney
e5e9ac0fd1
Merge pull request #187 from ghoneycutt/style_for_class_with_no_params
...
Use include instead of parameterized class when no params are given.
2013-12-03 14:54:58 -08:00
Ashley Penney
9d32257f85
Merge pull request #188 from sd63/fix_regex_warning
...
escape more braces properly
2013-12-03 14:54:25 -08:00
Ashley Penney
c561ad44e1
Merge pull request #191 from mnencia/patch-1
...
Update ppa.pp
2013-12-02 09:13:04 -08:00
Marco Nenciarini
935d3ce15b
Fix the name of sources.list.d file resource in apt::ppa
2013-12-02 13:40:22 +01:00
Ryan Tandy
0001a03cd9
escape more braces properly
...
Fixes a couple of rspec regex warnings.
2013-11-21 09:37:11 -08:00
Garrett Honeycutt
a2105b08e0
Use include instead of parameterized class when no params are given.
...
Instead of perpetuating the use of parameterized classes, which we do
not want to do in light of Puppet v3 with Hiera integration, this change
invites people to use 'include' instead of the parameterized class
syntax when no params are present.
2013-11-21 15:33:00 +01:00