puppet-modules/puppetlabs-apt.git
10 years agoMerge pull request #246 from hunner/buncha_picks
Hunter Haugen [Tue, 25 Feb 2014 17:58:36 +0000 (09:58 -0800)]
Merge pull request #246 from hunner/buncha_picks

Buncha picks

10 years agoMake apt.conf.d/proxy world readable and add a newline
Henrik Ahlgren [Fri, 10 Jan 2014 15:09:18 +0000 (17:09 +0200)]
Make apt.conf.d/proxy world readable and add a newline

10 years agoREADME: Fix white space / mixed indents.
Daniele Sluijters [Fri, 21 Feb 2014 17:39:52 +0000 (18:39 +0100)]
README: Fix white space / mixed indents.

(cherry picked from commit 47c8def0f7acde99ddb0b1820a7a2e5a7566418d)

10 years agoREADME/LICENSE: Fix licensing.
Daniele Sluijters [Fri, 21 Feb 2014 17:39:39 +0000 (18:39 +0100)]
README/LICENSE: Fix licensing.

Closes #152

(cherry picked from commit 08c1283437e2a7072e788f489f1de73dbc9a6c5d)

10 years agoUpdate out-of-date Debian signing key in remaining files.
Martin Konrad [Tue, 18 Feb 2014 21:57:01 +0000 (16:57 -0500)]
Update out-of-date Debian signing key in remaining files.

(cherry picked from commit 3aa293a53fb7a2bd789ce3db35950778968079fd)

10 years agochanged proxy_host default value from false to undef. fixes #211
Konrad Lother [Wed, 29 Jan 2014 23:33:45 +0000 (00:33 +0100)]
changed proxy_host default value from false to undef. fixes #211

(cherry picked from commit 0207fcd19a91b4cbdb356c230ded64799a8615cd)

10 years agoForce owner and mode on ppa files
Daniel Lawrence [Wed, 19 Feb 2014 00:41:01 +0000 (11:41 +1100)]
Force owner and mode on ppa files

(cherry picked from commit 0bf44fc167405a6a0e6faae35f3fa4caa9ce8658)

10 years agoUpdate pin_spec test to match quote removal.
Matt Callaway [Tue, 18 Feb 2014 14:08:19 +0000 (08:08 -0600)]
Update pin_spec test to match quote removal.

(cherry picked from commit d28dc494aae1f0cd2117183a54684f5095ab50cf)

10 years agoRemove the quotes from the origin line. This doesn't matter on Ubuntu Precise with...
Matt Callaway [Fri, 31 Jan 2014 21:56:28 +0000 (15:56 -0600)]
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.

(cherry picked from commit 3922a1bdf505947bd2425378035f0edaffc385e6)

10 years agoMerge pull request #226 from mark0n/master
Hunter Haugen [Tue, 25 Feb 2014 17:34:00 +0000 (09:34 -0800)]
Merge pull request #226 from mark0n/master

Update out of date Debian signing key for backports

10 years agoMerge pull request #215 from lotherk/proxy_val_no_boolean
Hunter Haugen [Tue, 25 Feb 2014 17:32:12 +0000 (09:32 -0800)]
Merge pull request #215 from lotherk/proxy_val_no_boolean

changed proxy_host default value from true to undef. fixes #211

10 years agoMerge pull request #227 from daniellawrence/file_perms_apt_ppa
Hunter Haugen [Tue, 25 Feb 2014 17:30:37 +0000 (09:30 -0800)]
Merge pull request #227 from daniellawrence/file_perms_apt_ppa

Force owner and mode on ppa files

10 years agoMerge pull request #216 from genome-vendor/master
Hunter Haugen [Tue, 25 Feb 2014 17:29:15 +0000 (09:29 -0800)]
Merge pull request #216 from genome-vendor/master

Remove the quotes from the "origin" line.

10 years agoMerge pull request #229 from daenney/apt-key-ftp
Hunter Haugen [Tue, 25 Feb 2014 17:27:51 +0000 (09:27 -0800)]
Merge pull request #229 from daenney/apt-key-ftp

apt_key: Support fetching keys over FTP.

10 years agoMerge pull request #235 from daenney/readme-license-fixes
Hunter Haugen [Tue, 25 Feb 2014 17:27:20 +0000 (09:27 -0800)]
Merge pull request #235 from daenney/readme-license-fixes

README and licensing fixes.

10 years agoMerge pull request #240 from daenney/manage-preferences
Hunter Haugen [Tue, 25 Feb 2014 17:25:49 +0000 (09:25 -0800)]
Merge pull request #240 from daenney/manage-preferences

apt: Allow managing of preferences file.

10 years agoAdd lsbdistid facts where appropriate.
Ashley Penney [Mon, 24 Feb 2014 22:31:16 +0000 (22:31 +0000)]
Add lsbdistid facts where appropriate.

(cherry picked from commit 4d188443bc4f7b10581fedf2180573308bb2bf7b)

10 years agoMerge pull request #244 from apenney/fix-tests
Hunter Haugen [Tue, 25 Feb 2014 00:14:59 +0000 (16:14 -0800)]
Merge pull request #244 from apenney/fix-tests

Add lsbdistid facts where appropriate.

10 years agoAdd lsbdistid facts where appropriate.
Ashley Penney [Mon, 24 Feb 2014 22:31:16 +0000 (22:31 +0000)]
Add lsbdistid facts where appropriate.

10 years agoMerge pull request #242 from hunner/add_unsup
Hunter Haugen [Mon, 24 Feb 2014 21:56:21 +0000 (13:56 -0800)]
Merge pull request #242 from hunner/add_unsup

Add non Debian os family unsupported test.

10 years agoMerge pull request #241 from hunner/add_unsup
Ashley Penney [Mon, 24 Feb 2014 21:53:41 +0000 (16:53 -0500)]
Merge pull request #241 from hunner/add_unsup

Add non Debian os family unsupported test.

10 years agoAdd non Debian os family unsupported test.
Hunter Haugen [Mon, 24 Feb 2014 21:52:13 +0000 (13:52 -0800)]
Add non Debian os family unsupported test.

10 years agoMerge branch '1.4.x'
Hunter Haugen [Mon, 24 Feb 2014 21:36:48 +0000 (13:36 -0800)]
Merge branch '1.4.x'

10 years agoapt: Allow managing of preferences file.
Daniele Sluijters [Sat, 22 Feb 2014 09:56:50 +0000 (10:56 +0100)]
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

10 years agoMerge pull request #239 from hunner/fix_builddep
Hunter Haugen [Fri, 21 Feb 2014 19:55:59 +0000 (11:55 -0800)]
Merge pull request #239 from hunner/fix_builddep

Use smaller build-dep package

10 years agoUse smaller build-dep package
Hunter Haugen [Fri, 21 Feb 2014 19:55:16 +0000 (11:55 -0800)]
Use smaller build-dep package

10 years agoMerge pull request #238 from hunner/clean_conditional
Ashley Penney [Fri, 21 Feb 2014 19:47:52 +0000 (14:47 -0500)]
Merge pull request #238 from hunner/clean_conditional

Using rspec filters works better

10 years agoUsing rspec filters works better
Hunter Haugen [Fri, 21 Feb 2014 19:45:21 +0000 (11:45 -0800)]
Using rspec filters works better

And this will make merging back to master cleaner

10 years agoMerge pull request #237 from hunner/change_port
Hunter Haugen [Fri, 21 Feb 2014 19:32:10 +0000 (11:32 -0800)]
Merge pull request #237 from hunner/change_port

Port 8080 is a bad choice and bumps into puppetdb

10 years agoREADME: Fix white space / mixed indents.
Daniele Sluijters [Fri, 21 Feb 2014 17:39:52 +0000 (18:39 +0100)]
README: Fix white space / mixed indents.

10 years agoREADME/LICENSE: Fix licensing.
Daniele Sluijters [Fri, 21 Feb 2014 17:39:39 +0000 (18:39 +0100)]
README/LICENSE: Fix licensing.

Closes #152

10 years agoMerge pull request #234 from hunner/fix_dash_tests
Hunter Haugen [Fri, 21 Feb 2014 17:36:25 +0000 (09:36 -0800)]
Merge pull request #234 from hunner/fix_dash_tests

Missed the - for -y, but also tests were missing lsbdistid

10 years agoMissed the - for -y, but also tests were missing lsbdistid
Hunter Haugen [Fri, 21 Feb 2014 17:34:46 +0000 (09:34 -0800)]
Missed the - for -y, but also tests were missing lsbdistid

10 years agoapt_key: Support fetching keys over FTP.
Daniele Sluijters [Thu, 20 Feb 2014 09:34:22 +0000 (10:34 +0100)]
apt_key: Support fetching keys over FTP.

10 years agoMerge pull request #231 from hunner/fix_ppa_options
Hunter Haugen [Fri, 21 Feb 2014 07:14:14 +0000 (23:14 -0800)]
Merge pull request #231 from hunner/fix_ppa_options

Don't pass options to ppa on lucid

10 years agoDon't pass options to ppa on lucid
Hunter Haugen [Fri, 21 Feb 2014 00:43:48 +0000 (16:43 -0800)]
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.

10 years agoMake sure we handle PE properly.
Ashley Penney [Wed, 19 Feb 2014 19:52:05 +0000 (19:52 +0000)]
Make sure we handle PE properly.

10 years agoMerge pull request #228 from apenney/add-pe
Ashley Penney [Wed, 19 Feb 2014 19:54:00 +0000 (14:54 -0500)]
Merge pull request #228 from apenney/add-pe

Make sure we handle PE properly.

10 years agoMake sure we handle PE properly.
Ashley Penney [Wed, 19 Feb 2014 19:52:05 +0000 (19:52 +0000)]
Make sure we handle PE properly.

10 years agoMerge pull request #212 from daenney/apt-key
Ashley Penney [Wed, 19 Feb 2014 15:03:57 +0000 (10:03 -0500)]
Merge pull request #212 from daenney/apt-key

apt_key type/provider

10 years agoForce owner and mode on ppa files
Daniel Lawrence [Wed, 19 Feb 2014 00:41:01 +0000 (11:41 +1100)]
Force owner and mode on ppa files

10 years agoUpdate out-of-date Debian signing key in remaining files.
Martin Konrad [Tue, 18 Feb 2014 21:57:01 +0000 (16:57 -0500)]
Update out-of-date Debian signing key in remaining files.

10 years agoTravis: Remove 3.0, add newer 3.x releases.
Daniele Sluijters [Sun, 16 Feb 2014 16:14:47 +0000 (17:14 +0100)]
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.

10 years agoAdd a type and provider to manage apt keys.
Daniele Sluijters [Fri, 17 Jan 2014 08:11:56 +0000 (09:11 +0100)]
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.

10 years agoUpdate Debian signing key for backports.
Martin Konrad [Tue, 18 Feb 2014 18:37:05 +0000 (13:37 -0500)]
Update Debian signing key for backports.

10 years agoUpdate pin_spec test to match quote removal.
Matt Callaway [Tue, 18 Feb 2014 14:08:19 +0000 (08:08 -0600)]
Update pin_spec test to match quote removal.

10 years agoMerge pull request #223 from daenney/apt-pin-array
Ashley Penney [Sun, 16 Feb 2014 16:54:06 +0000 (11:54 -0500)]
Merge pull request #223 from daenney/apt-pin-array

apt::pin: Allow for packages to be an array.

10 years agobeaker: Randomize SSH port.
Daniele Sluijters [Sun, 16 Feb 2014 13:45:48 +0000 (14:45 +0100)]
beaker: Randomize SSH port.

10 years agoapt::pin: Allow for packages to be an array.
Daniele Sluijters [Fri, 14 Feb 2014 15:13:14 +0000 (16:13 +0100)]
apt::pin: Allow for packages to be an array.

10 years agoMerge pull request #224 from hunner/change_port
Hunter Haugen [Sat, 15 Feb 2014 00:40:13 +0000 (16:40 -0800)]
Merge pull request #224 from hunner/change_port

Port 8080 is a bad choice and bumps into puppetdb

10 years agoPort 8080 is a bad choice and bumps into puppetdb
Hunter Haugen [Sat, 15 Feb 2014 00:12:05 +0000 (16:12 -0800)]
Port 8080 is a bad choice and bumps into puppetdb

10 years agoRevert "Undo backwards-incompatible changes and features."
Hunter Haugen [Fri, 14 Feb 2014 22:49:43 +0000 (14:49 -0800)]
Revert "Undo backwards-incompatible changes and features."

This reverts commit f9e2fe2a7ce3b2aee5535591b9f6882c29ccc2cb.

10 years agoMerge branch '1.4.x'
Hunter Haugen [Fri, 14 Feb 2014 22:49:34 +0000 (14:49 -0800)]
Merge branch '1.4.x'

10 years agoMerge branch 'release_1.4.1' into 1.4.x 1.4.1
Hunter Haugen [Fri, 14 Feb 2014 22:49:14 +0000 (14:49 -0800)]
Merge branch 'release_1.4.1' into 1.4.x

10 years agoRelease 1.4.1
Hunter Haugen [Fri, 14 Feb 2014 01:16:37 +0000 (17:16 -0800)]
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

10 years agoEnforce dependency version in tests
Hunter Haugen [Fri, 14 Feb 2014 22:34:37 +0000 (14:34 -0800)]
Enforce dependency version in tests

10 years agoAdd foss types to nodesets
Hunter Haugen [Fri, 14 Feb 2014 22:34:08 +0000 (14:34 -0800)]
Add foss types to nodesets

10 years agoUndo backwards-incompatible changes and features.
Hunter Haugen [Fri, 14 Feb 2014 22:33:30 +0000 (14:33 -0800)]
Undo backwards-incompatible changes and features.

Undoes the parameter changes in #140 and #184

10 years agoMerge pull request #219 from justinstoller/gemsource
Ashley Penney [Tue, 11 Feb 2014 15:30:28 +0000 (10:30 -0500)]
Merge pull request #219 from justinstoller/gemsource

allow specifying gem source via env var

10 years agoMerge pull request #220 from justinstoller/puppet_lint
Ashley Penney [Tue, 11 Feb 2014 15:30:19 +0000 (10:30 -0500)]
Merge pull request #220 from justinstoller/puppet_lint

Use Puppet lint and ignore its warnings?

10 years agoput disabled checks in .puppet-lint.rc for non rake usage
Justin Stoller [Sun, 9 Feb 2014 06:33:06 +0000 (22:33 -0800)]
put disabled checks in .puppet-lint.rc for non rake usage

10 years agoallow specifying gem source via env var
Justin Stoller [Sun, 9 Feb 2014 06:28:45 +0000 (22:28 -0800)]
allow specifying gem source via env var

10 years agodisable lint check for single quoted variables
Justin Stoller [Sun, 9 Feb 2014 06:22:47 +0000 (22:22 -0800)]
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.

10 years agoinclude puppet-lint in the bundle and rake tasks
Justin Stoller [Sun, 9 Feb 2014 06:21:34 +0000 (22:21 -0800)]
include puppet-lint in the bundle and rake tasks

10 years agoRemove the quotes from the origin line. This doesn't matter on Ubuntu Precise with...
Matt Callaway [Fri, 31 Jan 2014 21:56:28 +0000 (15:56 -0600)]
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.

10 years agoMerge branch 'proxy_val_no_boolean' of github.com:lotherk/puppetlabs-apt into proxy_v...
Konrad Lother [Wed, 29 Jan 2014 23:56:06 +0000 (00:56 +0100)]
Merge branch 'proxy_val_no_boolean' of github.com:lotherk/puppetlabs-apt into proxy_val_no_boolean

10 years agochanged proxy_host default value from false to undef. fixes #211
Konrad Lother [Wed, 29 Jan 2014 23:33:45 +0000 (00:33 +0100)]
changed proxy_host default value from false to undef. fixes #211

10 years agochanged proxy_host default value from true to undef. fixes #211
Konrad Lother [Wed, 29 Jan 2014 23:33:45 +0000 (00:33 +0100)]
changed proxy_host default value from true to undef. fixes #211

10 years agoMerge pull request #214 from ghoneycutt/enable_travis_fast_finish
Hunter Haugen [Thu, 23 Jan 2014 18:03:16 +0000 (10:03 -0800)]
Merge pull request #214 from ghoneycutt/enable_travis_fast_finish

Enable fast finish in Travis

10 years agoEnable fast finish in Travis
Garrett Honeycutt [Thu, 23 Jan 2014 17:47:51 +0000 (12:47 -0500)]
Enable fast finish in Travis

http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/

10 years agoMerge pull request #208 from apenney/ppa-debian
Ashley Penney [Thu, 9 Jan 2014 23:28:20 +0000 (15:28 -0800)]
Merge pull request #208 from apenney/ppa-debian

Ensure apt::ppa fails on non-Ubuntu.

10 years agoMerge pull request #207 from apenney/add-params
Ashley Penney [Thu, 9 Jan 2014 23:28:08 +0000 (15:28 -0800)]
Merge pull request #207 from apenney/add-params

Add additional acceptance testing.

10 years agoFixes to make the tests run under Debian as well as Ubuntu.
Ashley Penney [Thu, 9 Jan 2014 23:26:32 +0000 (18:26 -0500)]
Fixes to make the tests run under Debian as well as Ubuntu.

10 years agoEnsure apt::ppa fails on non-Ubuntu.
Ashley Penney [Thu, 9 Jan 2014 19:35:17 +0000 (14:35 -0500)]
Ensure apt::ppa fails on non-Ubuntu.

10 years agoImprove apt::force tests and ensure cleanup happens consistently.
Ashley Penney [Thu, 9 Jan 2014 19:26:59 +0000 (14:26 -0500)]
Improve apt::force tests and ensure cleanup happens consistently.

10 years agoAdd additional acceptance testing.
Ashley Penney [Tue, 7 Jan 2014 00:53:19 +0000 (19:53 -0500)]
Add additional acceptance testing.

This work adds a test for every parameter in every class/define in apt.

10 years agoMerge pull request #206 from apenney/beaker-rspec
Ashley Penney [Mon, 6 Jan 2014 23:04:43 +0000 (15:04 -0800)]
Merge pull request #206 from apenney/beaker-rspec

Convert existing tests over to beakr-rspec.

10 years agoConvert existing tests over to beakr-rspec.
Ashley Penney [Mon, 6 Jan 2014 22:39:48 +0000 (17:39 -0500)]
Convert existing tests over to beakr-rspec.

10 years agoMerge pull request #202 from tsuharesu/bug/exec_apt_ppa_as_root
Ashley Penney [Mon, 6 Jan 2014 21:02:34 +0000 (13:02 -0800)]
Merge pull request #202 from tsuharesu/bug/exec_apt_ppa_as_root

Apt::ppa should exec with root

10 years agoMerge pull request #205 from braddeicide/master
Ashley Penney [Mon, 6 Jan 2014 21:02:19 +0000 (13:02 -0800)]
Merge pull request #205 from braddeicide/master

fixed include, contained dash instead of underline.

10 years agoChange - to _
braddeicide [Fri, 3 Jan 2014 08:23:00 +0000 (19:23 +1100)]
Change - to _

I did it to please my syntax validator, but I'm assuming it wasn't functioning as expected either.

10 years ago(#201) Use root to exec
Tsuharesu Luciel [Mon, 30 Dec 2013 18:01:56 +0000 (16:01 -0200)]
(#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.

10 years agoMerge pull request #195 from sd63/include_class-deprecated
Ashley Penney [Sun, 8 Dec 2013 15:43:51 +0000 (07:43 -0800)]
Merge pull request #195 from sd63/include_class-deprecated

fix deprecation warning with rspec-puppet 1.0.0 (and newer)

10 years agochange include_class to contain_class in specs
Ryan Tandy [Fri, 6 Dec 2013 00:40:10 +0000 (16:40 -0800)]
change include_class to contain_class in specs

include_class was deprecated starting from rspec-puppet 1.0.0.

10 years agoMerge pull request #186 from ghoneycutt/typos
Ashley Penney [Tue, 3 Dec 2013 22:55:06 +0000 (14:55 -0800)]
Merge pull request #186 from ghoneycutt/typos

Correct spelling typo in CHANGELOG

10 years agoMerge pull request #187 from ghoneycutt/style_for_class_with_no_params
Ashley Penney [Tue, 3 Dec 2013 22:54:58 +0000 (14:54 -0800)]
Merge pull request #187 from ghoneycutt/style_for_class_with_no_params

Use include instead of parameterized class when no params are given.

10 years agoMerge pull request #188 from sd63/fix_regex_warning
Ashley Penney [Tue, 3 Dec 2013 22:54:25 +0000 (14:54 -0800)]
Merge pull request #188 from sd63/fix_regex_warning

escape more braces properly

10 years agoMerge pull request #191 from mnencia/patch-1
Ashley Penney [Mon, 2 Dec 2013 17:13:04 +0000 (09:13 -0800)]
Merge pull request #191 from mnencia/patch-1

Update ppa.pp

10 years agoFix the name of sources.list.d file resource in apt::ppa
Marco Nenciarini [Mon, 2 Dec 2013 12:17:00 +0000 (13:17 +0100)]
Fix the name of sources.list.d file resource in apt::ppa

10 years agoescape more braces properly
Ryan Tandy [Thu, 21 Nov 2013 17:36:41 +0000 (09:36 -0800)]
escape more braces properly

Fixes a couple of rspec regex warnings.

10 years agoUse include instead of parameterized class when no params are given.
Garrett Honeycutt [Thu, 21 Nov 2013 14:33:00 +0000 (15:33 +0100)]
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.

10 years agoCorrect spelling typo in CHANGELOG
Garrett Honeycutt [Thu, 21 Nov 2013 14:31:31 +0000 (15:31 +0100)]
Correct spelling typo in CHANGELOG

10 years agoMerge pull request #184 from RsrchBoy/topic/removable-ppas
Ashley Penney [Mon, 18 Nov 2013 22:51:45 +0000 (14:51 -0800)]
Merge pull request #184 from RsrchBoy/topic/removable-ppas

add an 'ensure' parameter to apt::ppa

10 years agoMerge pull request #185 from dalen/retry
Ashley Penney [Thu, 14 Nov 2013 12:53:48 +0000 (04:53 -0800)]
Merge pull request #185 from dalen/retry

Retry package installs

10 years agoRetry package installs
Erik Dalén [Thu, 14 Nov 2013 10:02:18 +0000 (11:02 +0100)]
Retry package installs

Sometimes package installs can fail to aquire the lock file, so retry
the command in that case.

10 years agoadd an 'ensure' parameter to apt::ppa
Chris Weyl [Sat, 9 Nov 2013 00:50:21 +0000 (16:50 -0800)]
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.

10 years agoMerge pull request #182 from stefanvanwouw/master
Ashley Penney [Wed, 23 Oct 2013 14:13:55 +0000 (07:13 -0700)]
Merge pull request #182 from stefanvanwouw/master

apt::source templates/sources.list.erb generates invalid source line when architecture is provided.

10 years agoFixed tests for fe594950c5
Stefan van Wouw [Wed, 23 Oct 2013 10:29:47 +0000 (12:29 +0200)]
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).

10 years agoIf architecture is provided, an invalid source line is generated (no space between...
Stefan van Wouw [Wed, 23 Oct 2013 09:22:33 +0000 (11:22 +0200)]
If architecture is provided, an invalid source line is generated (no space between location and architecture)

10 years agoMerge pull request #178 from apenney/getparam-removal
Ashley Penney [Wed, 16 Oct 2013 21:37:33 +0000 (14:37 -0700)]
Merge pull request #178 from apenney/getparam-removal

getparam() isn't available in all stdlib versions.