Commit graph

375 commits

Author SHA1 Message Date
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
Hunter Haugen
80ea5a72ca Port 8080 is a bad choice and bumps into puppetdb 2014-02-14 16:17:44 -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
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
Garrett Honeycutt
8ac668a3aa Correct spelling typo in CHANGELOG 2013-11-21 15:31:31 +01:00
Ashley Penney
b549f7b848 Merge pull request #184 from RsrchBoy/topic/removable-ppas
add an 'ensure' parameter to apt::ppa
2013-11-18 14:51:45 -08:00
Ashley Penney
a66915e85e Merge pull request #185 from dalen/retry
Retry package installs
2013-11-14 04:53:48 -08:00
Erik Dalén
7a8e3d00f9 Retry package installs
Sometimes package installs can fail to aquire the lock file, so retry
the command in that case.
2013-11-14 11:02:18 +01:00
Chris Weyl
3499896505 add an 'ensure' parameter to apt::ppa
...as sometimes we want to get rid of them. :)

We leave this a little loose; rather than simply requiring a boolean for
$ensure, we set the stage for doing an easy switch to also allowing 'purge' at
some point in the future.
2013-11-08 16:54:11 -08:00