puppet-modules/puppetlabs-apt.git
10 years agoMerge pull request #140 from hunner/apt_force
Ashley Penney [Tue, 15 Oct 2013 17:45:17 +0000 (10:45 -0700)]
Merge pull request #140 from hunner/apt_force

Handling of release parameter and apt provider in force manifest

10 years agoMerge pull request #173 from apenney/140-release 1.4.0
Ashley Penney [Tue, 15 Oct 2013 17:44:04 +0000 (10:44 -0700)]
Merge pull request #173 from apenney/140-release

Prepare 1.4.0 release.

10 years agoMerge pull request #175 from lkoranda/patch-1
Ashley Penney [Mon, 14 Oct 2013 14:43:58 +0000 (07:43 -0700)]
Merge pull request #175 from lkoranda/patch-1

Fixed double-space typo

10 years agoFixed tests for cf04f76
lkoranda [Mon, 14 Oct 2013 12:27:17 +0000 (14:27 +0200)]
Fixed tests for cf04f76

10 years agoFixed double-space typo
lkoranda [Mon, 14 Oct 2013 11:22:47 +0000 (13:22 +0200)]
Fixed double-space typo

This bug has been introduced in 1.2.0 - b3d67c8

10 years agoPrepare 1.4.0 release.
Ashley Penney [Tue, 8 Oct 2013 18:10:08 +0000 (11:10 -0700)]
Prepare 1.4.0 release.

10 years agoMerge pull request #172 from apenney/fix-ppa
Ashley Penney [Tue, 8 Oct 2013 17:57:12 +0000 (10:57 -0700)]
Merge pull request #172 from apenney/fix-ppa

This work flips from onlyif to unless (mistakenly looked at the

10 years agoThis work flips from onlyif to unless (mistakenly looked at the
Ashley Penney [Tue, 8 Oct 2013 17:50:30 +0000 (10:50 -0700)]
This work flips from onlyif to unless (mistakenly looked at the
wrong return code).

10 years agoMerge pull request #170 from apenney/metadata
Ashley Penney [Fri, 4 Oct 2013 23:17:38 +0000 (16:17 -0700)]
Merge pull request #170 from apenney/metadata

FM-103: Add metadata.json to all modules.

10 years agoFM-103: Add metadata.json to all modules.
Ashley Penney [Fri, 4 Oct 2013 19:49:01 +0000 (15:49 -0400)]
FM-103: Add metadata.json to all modules.

10 years agoMerge pull request #169 from apenney/fix_ppa.pp
Ashley Penney [Wed, 2 Oct 2013 19:06:32 +0000 (12:06 -0700)]
Merge pull request #169 from apenney/fix_ppa.pp

This switches us to doing a `test -s` instead of checking for the

10 years agoFix other tests to include apt appropriately.
Ashley Penney [Wed, 2 Oct 2013 18:04:51 +0000 (14:04 -0400)]
Fix other tests to include apt appropriately.

10 years agoThis switches us to doing a `test -s` instead of checking for the
Ashley Penney [Wed, 2 Oct 2013 17:56:06 +0000 (13:56 -0400)]
This switches us to doing a `test -s` instead of checking for the
files existence as add-apt-repository --remove leaves a 0 byte file
behind instead of deleting everything properly.

10 years agoMerge pull request #168 from apenney/rspec-system
Ashley Penney [Wed, 2 Oct 2013 17:01:49 +0000 (10:01 -0700)]
Merge pull request #168 from apenney/rspec-system

Add initial rspec-system tests.

10 years agoAdd initial rspec-system tests.
Ashley Penney [Wed, 2 Oct 2013 16:42:56 +0000 (12:42 -0400)]
Add initial rspec-system tests.

This covers:

apt::builddep
apt::key
apt::ppa
apt::source
apt

10 years agoMerge pull request #167 from madeddie/master
Ashley Penney [Wed, 2 Oct 2013 13:07:05 +0000 (06:07 -0700)]
Merge pull request #167 from madeddie/master

add an updates_timeout option to apt::params (PR fix)

10 years agoadd an updates_timeout option to apt::params (PR fix)
Edwin Hermans [Wed, 2 Oct 2013 12:24:30 +0000 (14:24 +0200)]
add an updates_timeout option to apt::params (PR fix)

10 years agoMerge pull request #162 from apenney/130-release 1.3.0
Hunter Haugen [Tue, 17 Sep 2013 17:25:30 +0000 (10:25 -0700)]
Merge pull request #162 from apenney/130-release

Prepare 1.3.0 release.

10 years agoPrepare 1.3.0 release.
Ashley Penney [Tue, 17 Sep 2013 14:20:23 +0000 (10:20 -0400)]
Prepare 1.3.0 release.

10 years agoMerge pull request #153 from drbop/drbop_unattended_upgrades
Ashley Penney [Mon, 16 Sep 2013 23:18:41 +0000 (16:18 -0700)]
Merge pull request #153 from drbop/drbop_unattended_upgrades

Class for managing unattended-upgrades

10 years ago[#153] Remove trailing whitespace from spec.
Dan Carley [Mon, 16 Sep 2013 12:56:14 +0000 (13:56 +0100)]
[#153] Remove trailing whitespace from spec.

10 years ago[#153] Install unattended configs after package
Dan Carley [Mon, 16 Sep 2013 12:45:03 +0000 (13:45 +0100)]
[#153] Install unattended configs after package

To ensure that the default configs from the package are always overwritten
within a single Puppet run.

10 years ago[#153] Test defaults for some unattended params
Dan Carley [Mon, 16 Sep 2013 12:35:09 +0000 (13:35 +0100)]
[#153] Test defaults for some unattended params

For params which have any logic embedded in the template:

- origins
- blacklist
- mail_to
- dl_limit

10 years ago[#153] Variablise file paths in unattended spec
Dan Carley [Mon, 16 Sep 2013 11:34:07 +0000 (12:34 +0100)]
[#153] Variablise file paths in unattended spec

Reduce some duplication of long file paths.

10 years ago[#153] Convert t/f params to bools and validate
Dan Carley [Mon, 16 Sep 2013 08:06:15 +0000 (09:06 +0100)]
[#153] Convert t/f params to bools and validate

Per lint check: http://puppet-lint.com/checks/quoted_booleans/

10 years ago[#153] Rename unattended_upgrades s/-/_/
Dan Carley [Mon, 16 Sep 2013 07:53:01 +0000 (08:53 +0100)]
[#153] Rename unattended_upgrades s/-/_/

It's preferable to use underscores rather than hyphens in class names. Refs:

- http://projects.puppetlabs.com/issues/5268
- http://docs.puppetlabs.com/puppet/3/reference/lang_reserved.html#classes-and-types

10 years agoAdded spec test for unattended-upgrades class
Philip Cohoe [Fri, 13 Sep 2013 23:39:09 +0000 (23:39 +0000)]
Added spec test for unattended-upgrades class

10 years agoAdded class for managing unattended-upgrades
Philip Cohoe [Wed, 28 Aug 2013 19:46:00 +0000 (19:46 +0000)]
Added class for managing unattended-upgrades

10 years agoMerge pull request #156 from rculbertson/master
Ashley Penney [Thu, 5 Sep 2013 12:40:10 +0000 (05:40 -0700)]
Merge pull request #156 from rculbertson/master

Fixed several lint warnings and errors

10 years agoremoving unnecessary backslashes
Ryan Culbertson [Thu, 5 Sep 2013 04:28:53 +0000 (00:28 -0400)]
removing unnecessary backslashes

10 years agoFixed several lint warnings and errors
Ryan Culbertson [Wed, 4 Sep 2013 21:32:42 +0000 (17:32 -0400)]
Fixed several lint warnings and errors

10 years agoMerge pull request #150 from bionix/use_http_debian_net_as_geodns_redirector
Hunter Haugen [Mon, 5 Aug 2013 20:59:19 +0000 (13:59 -0700)]
Merge pull request #150 from bionix/use_http_debian_net_as_geodns_redirector

Use the geoDNS http.debian.net instead of the main debian ftp server

10 years agoMerge pull request #149 from bionix/add_wheezy_backports
Hunter Haugen [Mon, 5 Aug 2013 20:58:47 +0000 (13:58 -0700)]
Merge pull request #149 from bionix/add_wheezy_backports

Add wheezy backports support

10 years agoMerge pull request #151 from hunner/proxy_exec_spec
Hunter Haugen [Mon, 5 Aug 2013 20:58:28 +0000 (13:58 -0700)]
Merge pull request #151 from hunner/proxy_exec_spec

Update specs for #145

10 years agoUpdate specs for #145
Hunter Haugen [Mon, 5 Aug 2013 20:41:25 +0000 (13:41 -0700)]
Update specs for #145

10 years agoUse the geoDNS http.debian.net instead of the main debian ftp server
Markus Rekkenbeil [Mon, 5 Aug 2013 11:19:50 +0000 (13:19 +0200)]
Use the geoDNS http.debian.net instead of the main debian ftp server

Signed-off-by: Markus Rekkenbeil <markus@bionix-it.de>
10 years agoAdd wheezy backports support
Markus Rekkenbeil [Mon, 5 Aug 2013 11:06:54 +0000 (13:06 +0200)]
Add wheezy backports support

Signed-off-by: Markus Rekkenbeil <markus@bionix-it.de>
10 years agoMerge pull request #145 from PierreGambarotto/master
Hunter Haugen [Wed, 31 Jul 2013 16:32:27 +0000 (09:32 -0700)]
Merge pull request #145 from PierreGambarotto/master

ppa: fix empty environment definition in exec ressource when no proxy

10 years agoMerge pull request #148 from futuresimple/fix/ppa/pass_flags_as_single_character
Ashley Penney [Wed, 31 Jul 2013 12:43:15 +0000 (05:43 -0700)]
Merge pull request #148 from futuresimple/fix/ppa/pass_flags_as_single_character

pass flags as string of single letter

10 years agopass flags as string of single letter
nagas [Mon, 22 Jul 2013 12:48:32 +0000 (14:48 +0200)]
pass flags as string of single letter

10 years agoMerge pull request #146 from botify-labs/handle_ppa_options
Ashley Penney [Wed, 17 Jul 2013 12:08:11 +0000 (05:08 -0700)]
Merge pull request #146 from botify-labs/handle_ppa_options

Fix: parametrize apt::ppa class for beign able to pass options to apt-add-repository command

10 years agoFix: ppa options support specs
Oleiade [Wed, 17 Jul 2013 07:55:47 +0000 (09:55 +0200)]
Fix: ppa options support specs

10 years agoFix: apt::ppa options parameter to pass options to apt-add-repository command
Oleiade [Tue, 16 Jul 2013 13:31:19 +0000 (15:31 +0200)]
Fix: apt::ppa options parameter to pass options to apt-add-repository command

10 years agoppa: fix empty environment definition in exec ressource when no proxy
Pierre Gambarotto [Tue, 16 Jul 2013 07:52:06 +0000 (09:52 +0200)]
ppa: fix empty environment definition in exec ressource when no proxy

10 years agoMerge pull request #144 from hunner/ppa_proxy
Hunter Haugen [Fri, 12 Jul 2013 00:03:31 +0000 (17:03 -0700)]
Merge pull request #144 from hunner/ppa_proxy

Ppa proxy

10 years agoAdding specs for proxy and apt::ppa
Hunter Haugen [Thu, 11 Jul 2013 22:49:00 +0000 (15:49 -0700)]
Adding specs for proxy and apt::ppa

10 years agoproxy support for apt::ppa
Pierre Gambarotto [Thu, 11 Jul 2013 13:29:38 +0000 (15:29 +0200)]
proxy support for apt::ppa

11 years agoMerge pull request #141 from hunner/release_1.2.0 1.2.0
Ashley Penney [Fri, 5 Jul 2013 17:25:57 +0000 (10:25 -0700)]
Merge pull request #141 from hunner/release_1.2.0

Release 1.2.0

11 years agoRelease 1.2.0
Hunter Haugen [Wed, 3 Jul 2013 23:58:09 +0000 (16:58 -0700)]
Release 1.2.0

Features:
- Add geppetto `.project` natures
- Add GH auto-release
- Add `apt::key::key_options` parameter
- Add complex pin support using distribution properties for `apt::pin` via new properties:
  - `apt::pin::codename`
  - `apt::pin::release_version`
  - `apt::pin::component`
  - `apt::pin::originator`
  - `apt::pin::label`
- Add source architecture support to `apt::source::architecture`

Bugfixes:
- Use apt-get instead of aptitude in apt::force
- Update default backports location
- Add dependency for required packages before apt-get update

11 years agoUpdate example apt::force tests
Hunter Haugen [Wed, 3 Jul 2013 18:00:33 +0000 (11:00 -0700)]
Update example apt::force tests

11 years agoUpdate specs to test all parameter cases
Hunter Haugen [Wed, 3 Jul 2013 18:00:12 +0000 (11:00 -0700)]
Update specs to test all parameter cases

11 years agoDon't use hardcoded provider in force manifest.
Andreas Teuchert [Sat, 23 Feb 2013 15:45:31 +0000 (16:45 +0100)]
Don't use hardcoded provider in force manifest.

Use $apt::params::provider instead.

11 years agoHandle release parameter more sensibly in force manifest.
Andreas Teuchert [Sat, 23 Feb 2013 15:42:14 +0000 (16:42 +0100)]
Handle release parameter more sensibly in force manifest.

Use release parameter to construct $release_string.

The release parameter may also be set to false to use the system's
default release (so just force a specific version). Use false as the
default setting instead of 'testing'.

Change $install_check to also check if package is installed from the
right release, instead of just checking the version.

11 years agoMerge pull request #139 from hunner/gh_releases
Hunter Haugen [Wed, 3 Jul 2013 00:17:43 +0000 (17:17 -0700)]
Merge pull request #139 from hunner/gh_releases

Adding travis github automatic forge releases

11 years agoAdding travis github automatic forge releases
Hunter Haugen [Tue, 2 Jul 2013 23:40:23 +0000 (16:40 -0700)]
Adding travis github automatic forge releases

11 years agoMerge pull request #134 from spali/my_changes
Hunter Haugen [Tue, 2 Jul 2013 20:54:12 +0000 (13:54 -0700)]
Merge pull request #134 from spali/my_changes

replace aptitude with apt in apt::force

11 years agofixed test for changing aptitude to apt-get
Thomas Spalinger [Tue, 2 Jul 2013 19:59:26 +0000 (21:59 +0200)]
fixed test for changing aptitude to apt-get

11 years agoMerge pull request #114 from johnnyrun/master
Hunter Haugen [Tue, 2 Jul 2013 18:53:14 +0000 (11:53 -0700)]
Merge pull request #114 from johnnyrun/master

location change

11 years agoMerge pull request #118 from opeckojo/apt-sources-arch
Hunter Haugen [Tue, 2 Jul 2013 18:48:06 +0000 (11:48 -0700)]
Merge pull request #118 from opeckojo/apt-sources-arch

Add optional architecture qualifier to apt-sources

11 years agoMerge pull request #123 from ctrlaltdel/fix-required-packages
Hunter Haugen [Tue, 2 Jul 2013 18:37:39 +0000 (11:37 -0700)]
Merge pull request #123 from ctrlaltdel/fix-required-packages

Install required_packages before 'apt-get update'

11 years agoMerge pull request #122 from strangeman/master
Hunter Haugen [Tue, 2 Jul 2013 18:34:21 +0000 (11:34 -0700)]
Merge pull request #122 from strangeman/master

Add a $key_options parameter to apt::key.

11 years agoMerge pull request #124 from DavidS/geppetto-infrastructure
Hunter Haugen [Tue, 2 Jul 2013 18:28:48 +0000 (11:28 -0700)]
Merge pull request #124 from DavidS/geppetto-infrastructure

Geppetto infrastructure

11 years agoMerge pull request #131 from mbornoz/apt-preferences
Hunter Haugen [Tue, 2 Jul 2013 00:46:24 +0000 (17:46 -0700)]
Merge pull request #131 from mbornoz/apt-preferences

apt::pin: handling all apt preferences properties

11 years agoMerge pull request #138 from hunner/release_111 1.1.1
Ashley Penney [Tue, 2 Jul 2013 00:28:19 +0000 (17:28 -0700)]
Merge pull request #138 from hunner/release_111

Release 111

11 years agoMerge pull request #137 from hunner/revert_135
Ashley Penney [Tue, 2 Jul 2013 00:26:21 +0000 (17:26 -0700)]
Merge pull request #137 from hunner/revert_135

Revert "Merge pull request #135 from CERIT-SC/master"

11 years agoRevert "Merge pull request #135 from CERIT-SC/master"
Hunter Haugen [Tue, 2 Jul 2013 00:19:27 +0000 (17:19 -0700)]
Revert "Merge pull request #135 from CERIT-SC/master"

This reverts commit e17208a86c7483ec93e3347ab61d88728edb4761, reversing
changes made to 0665a5d77a4f26d23417dce221a15b8d112cd7b0.

11 years agoAdding one more fix
Hunter Haugen [Tue, 2 Jul 2013 00:18:35 +0000 (17:18 -0700)]
Adding one more fix

11 years agoMerge pull request #135 from CERIT-SC/master
Hunter Haugen [Mon, 1 Jul 2013 23:55:57 +0000 (16:55 -0700)]
Merge pull request #135 from CERIT-SC/master

Support APT pinning by codename

11 years agoMerge pull request #136 from hunner/change_specs
Hunter Haugen [Mon, 1 Jul 2013 23:19:48 +0000 (16:19 -0700)]
Merge pull request #136 from hunner/change_specs

Update travis and bundler

11 years agoMerge pull request #133 from benben/master
Hunter Haugen [Mon, 1 Jul 2013 23:18:14 +0000 (16:18 -0700)]
Merge pull request #133 from benben/master

trim keys to 8 chars for matching with apt-key list (fix for #100)

11 years agoUpdate travis and bundler
Hunter Haugen [Mon, 1 Jul 2013 23:11:34 +0000 (16:11 -0700)]
Update travis and bundler

- Use ruby 2.0.0 instead of ruby-head
- Remove puppet 2.6 testing
- Add more bundler gems

11 years agoapt::key: trim keys to 8 chars to match with apt-key list, refs puppetlabs/puppetlabs...
Benjamin Knofe [Sat, 29 Jun 2013 11:06:26 +0000 (13:06 +0200)]
apt::key: trim keys to 8 chars to match with apt-key list, refs puppetlabs/puppetlabs-apt#100

11 years agoSupport APT pinning by codename (e.g. squeeze, wheezy)
Vlastimil Holer [Fri, 28 Jun 2013 12:06:05 +0000 (14:06 +0200)]
Support APT pinning by codename (e.g. squeeze, wheezy)

11 years agoMerge branch 'master' into my_changes
Thomas Spalinger [Tue, 25 Jun 2013 20:53:14 +0000 (22:53 +0200)]
Merge branch 'master' into my_changes

11 years agoImprove apt::pin example
Mathieu Bornoz [Wed, 19 Jun 2013 07:13:08 +0000 (09:13 +0200)]
Improve apt::pin example

11 years agoFix apt::pin for Puppet 2.6
Raphaël Pinson [Tue, 18 Jun 2013 13:14:00 +0000 (15:14 +0200)]
Fix apt::pin for Puppet 2.6

11 years agoapt::pin: handling all apt preferences properties
Mathieu Bornoz [Tue, 18 Jun 2013 09:31:38 +0000 (11:31 +0200)]
apt::pin: handling all apt preferences properties

The two forms of APT preferences records (general & specific) can now be
completely and not partially defined. All distribution properties can be passed
as resource parameters. This change is totally backward-compatible.

11 years agoUpdate .gitignore
David Schmitt [Mon, 14 Jan 2013 15:18:09 +0000 (16:18 +0100)]
Update .gitignore

11 years agoAdd geppetto project definition
David Schmitt [Mon, 14 Jan 2013 15:05:44 +0000 (16:05 +0100)]
Add geppetto project definition

11 years agoInstall required_packages before 'apt-get update'
Francois Deppierraz [Mon, 3 Jun 2013 09:57:58 +0000 (09:57 +0000)]
Install required_packages before 'apt-get update'

This is necessary when required_packages contains GPG keys that are used for
authenticating other packages. Tested with package ubuntu-cloud-keyring which
is included in Ubuntu main and used by the Ubuntu Cloud Archive.

I think the same problem applies to other *-keyring packages as well.

11 years agofix 'puppetlabs/stdlib' dependency
Anton Markelov [Mon, 3 Jun 2013 00:04:37 +0000 (12:04 +1200)]
fix 'puppetlabs/stdlib' dependency

11 years agofix conflicts
Markelov Anton [Sun, 2 Jun 2013 23:53:17 +0000 (10:53 +1100)]
fix conflicts

11 years agoMerge branch 'master' of https://github.com/puppetlabs/puppetlabs-apt
Markelov Anton [Sun, 2 Jun 2013 23:10:03 +0000 (10:10 +1100)]
Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-apt

Conflicts:
.travis.yml
Modulefile

11 years agoAdd optional architecture qualifier to apt-sources
Joe O'Pecko [Wed, 29 May 2013 22:52:32 +0000 (15:52 -0700)]
Add optional architecture qualifier to apt-sources

11 years agoRelease 1.1.1
Ken Barber [Sun, 2 Jun 2013 18:54:32 +0000 (19:54 +0100)]
Release 1.1.1

CHANGELOG & Modulefile updated.

Signed-off-by: Ken Barber <ken@bob.sh>
11 years agoMerge pull request #117 from bkg/docfix
Ken Barber [Sun, 2 Jun 2013 18:07:13 +0000 (11:07 -0700)]
Merge pull request #117 from bkg/docfix

Fix apt::release example in readme

11 years agoMerge branch 'proxy'
Ken Barber [Sun, 2 Jun 2013 17:56:10 +0000 (18:56 +0100)]
Merge branch 'proxy'

* proxy:
  Add spec test for removing proxy configuration.
  Update manifests/init.pp
  Update manifests/init.pp
  Update manifests/init.pp

11 years agoAdd spec test for removing proxy configuration.
Dean Reilly [Fri, 12 Apr 2013 16:26:26 +0000 (17:26 +0100)]
Add spec test for removing proxy configuration.

11 years agoUpdate manifests/init.pp
Scott Barber [Thu, 1 Nov 2012 20:33:31 +0000 (14:33 -0600)]
Update manifests/init.pp

11 years agoUpdate manifests/init.pp
Scott Barber [Thu, 1 Nov 2012 20:17:16 +0000 (14:17 -0600)]
Update manifests/init.pp

11 years agoUpdate manifests/init.pp
Scott Barber [Thu, 1 Nov 2012 20:08:28 +0000 (14:08 -0600)]
Update manifests/init.pp

If a proxy is set and then later unset we need to remove the proxy file. As it currently sits it'll just sit there hanging out.

11 years agoMerge branch 'template_deprecation_warnings'
Ken Barber [Sun, 2 Jun 2013 17:37:24 +0000 (18:37 +0100)]
Merge branch 'template_deprecation_warnings'

* template_deprecation_warnings:
  Update travis.yml to latest versions of puppet
  Remove deprecation warnings for pin.pref.erb as well
  add @ to variables in template

11 years agoUpdate travis.yml to latest versions of puppet
Ken Barber [Sun, 2 Jun 2013 17:27:15 +0000 (18:27 +0100)]
Update travis.yml to latest versions of puppet

Signed-off-by: Ken Barber <ken@bob.sh>
11 years agoRemove deprecation warnings for pin.pref.erb as well
Ken Barber [Sun, 2 Jun 2013 17:24:33 +0000 (18:24 +0100)]
Remove deprecation warnings for pin.pref.erb as well

Signed-off-by: Ken Barber <ken@bob.sh>
11 years agoadd @ to variables in template
Peter Hoeg [Thu, 30 May 2013 10:28:57 +0000 (18:28 +0800)]
add @ to variables in template

11 years agoFix apt::release example in readme
Brian Galey [Wed, 29 May 2013 21:46:32 +0000 (14:46 -0700)]
Fix apt::release example in readme

11 years agoLocation changed:
johnnyrun [Tue, 7 May 2013 12:13:59 +0000 (14:13 +0200)]
Location changed:

http://backports.debian.org/news/Backports_integrated_into_the_main_archive/

11 years agoreplace aptitude with apt in apt::force
Thomas Spalinger [Tue, 26 Feb 2013 20:35:49 +0000 (21:35 +0100)]
replace aptitude with apt in apt::force

11 years agoMerge pull request #112 from richardc/patch-1
Ken Barber [Mon, 25 Feb 2013 20:03:35 +0000 (12:03 -0800)]
Merge pull request #112 from richardc/patch-1

Restrict the versions and add 3.1

11 years agoRestrict the versions and add 3.1
Richard Clamp [Mon, 25 Feb 2013 19:56:03 +0000 (19:56 +0000)]
Restrict the versions and add 3.1