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
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
Ashley Penney
a350da7604
Merge pull request #182 from stefanvanwouw/master
...
apt::source templates/sources.list.erb generates invalid source line when architecture is provided.
2013-10-23 07:13:55 -07:00
Stefan van Wouw
67e8968fe0
Fixed tests for fe594950c5
...
We actually expect an extra space. The previous build failed because a test is issued for location='', which indeed results in 2 spaces between the architecture specification and the release. According to the sources.list man page a location is always required though (unlike the missing/empty location in the :default_params of the source_spec test).
2013-10-23 12:29:47 +02:00
Stefan van Wouw
fe594950c5
If architecture is provided, an invalid source line is generated (no space between location and architecture)
2013-10-23 11:22:33 +02:00
Ashley Penney
1ad70436d5
Merge pull request #178 from apenney/getparam-removal
...
getparam() isn't available in all stdlib versions.
2013-10-16 14:37:33 -07:00