Commit graph

558 commits

Author SHA1 Message Date
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
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
Ashley Penney
33064128b9 getparam() isn't available in all stdlib versions.
There's no need for getparam() here when a regular variable works
just fine.
2013-10-16 13:08:03 -04:00
Ashley Penney
d1e87d4774 Merge pull request #140 from hunner/apt_force
Handling of release parameter and apt provider in force manifest
2013-10-15 10:45:17 -07:00
Ashley Penney
924e89289b Merge pull request #173 from apenney/140-release
Prepare 1.4.0 release.
2013-10-15 10:44:04 -07:00
Ashley Penney
6d01635dbd Merge pull request #175 from lkoranda/patch-1
Fixed double-space typo
2013-10-14 07:43:58 -07:00
lkoranda
7dd4a14848 Fixed tests for cf04f76 2013-10-14 14:27:17 +02:00
lkoranda
cf04f76e17 Fixed double-space typo
This bug has been introduced in 1.2.0 - b3d67c8
2013-10-14 13:22:47 +02:00
Ashley Penney
547d7ad96a Prepare 1.4.0 release. 2013-10-08 11:10:08 -07:00
Ashley Penney
3913f6cacc Merge pull request #172 from apenney/fix-ppa
This work flips from onlyif to unless (mistakenly looked at the
2013-10-08 10:57:12 -07:00
Ashley Penney
39cbeeb9d2 This work flips from onlyif to unless (mistakenly looked at the
wrong return code).
2013-10-08 10:50:30 -07:00
Ashley Penney
e3907061fd Merge pull request #170 from apenney/metadata
FM-103: Add metadata.json to all modules.
2013-10-04 16:17:38 -07:00
Ashley Penney
245b2b1783 FM-103: Add metadata.json to all modules. 2013-10-04 15:52:41 -04:00
Ashley Penney
42b2cd3d61 Merge pull request #169 from apenney/fix_ppa.pp
This switches us to doing a `test -s` instead of checking for the
2013-10-02 12:06:32 -07:00
Ashley Penney
ee24679f6d Fix other tests to include apt appropriately. 2013-10-02 14:46:00 -04:00