puppet-modules/puppetlabs-apt.git
12 years agoMerge pull request #12 from haus/11953_fix_apt_force_version
Dan Bode [Sat, 14 Jan 2012 01:17:15 +0000 (17:17 -0800)]
Merge pull request #12 from haus/11953_fix_apt_force_version

(#11953) Apt::force passes $version to aptitude

12 years ago(#11953) Apt::force passes $version to aptitude
Matthaus Litteken [Fri, 13 Jan 2012 23:29:47 +0000 (15:29 -0800)]
(#11953) Apt::force passes $version to aptitude

Previously, even if $version were passed to apt::force, aptitude would just
install the default version of the package available. This updates the aptitude
call to use the version string if it exists. If no version is passed, or if it
is false, no version is added to the aptitude call.  This also updates the
rspec-puppet tests for the define, to reflect the changes to the exec.

12 years agoMerge pull request #11 from bodepd/11413_apt_force_query_fix
Matthaus Litteken [Fri, 13 Jan 2012 23:09:45 +0000 (15:09 -0800)]
Merge pull request #11 from bodepd/11413_apt_force_query_fix

11413 apt force query fix

12 years agoMerge pull request #8 from cwarden/source-example-improvement
Dan Bode [Fri, 13 Jan 2012 20:25:42 +0000 (12:25 -0800)]
Merge pull request #8 from cwarden/source-example-improvement

include_src parameter in example; Whitespace cleanup

12 years ago(#11413) Add spec test for apt::force to verify changes to unless
Dan Bode [Fri, 13 Jan 2012 19:02:42 +0000 (11:02 -0800)]
(#11413) Add spec test for apt::force to verify changes to unless

In the Previous commits, the query being done by the
apt::force install command was not strict enough and
could lead to false positives.

These queries represented by the unless parameter have been
resolved in another commit. This commit accompanies that commit
and adds basic unit tests to correspond to the changes.

12 years ago(#11413) Update dpkg query used by apt::force
Matthias Pigulla [Thu, 15 Dec 2011 14:52:21 +0000 (15:52 +0100)]
(#11413) Update dpkg query used by apt::force

This patch fixes the query used by apt::force to
determine rather or not the package is installed.

Previously, the expression was not specific enough and
could not lead to false positives in cases where a package
name is contained within another package name (puppet could be
incorrectly determined as being installed if puppet-common is
installed)

This commit resolves that by improving the query expression.

12 years agoMerge pull request #9 from bodepd/10451_fix_apt_update_refresh
Matthaus Litteken [Wed, 4 Jan 2012 18:30:31 +0000 (10:30 -0800)]
Merge pull request #9 from bodepd/10451_fix_apt_update_refresh

10451 fix apt update refresh

12 years ago(#10451) Add test coverage to apt::ppa
Dan Bode [Wed, 4 Jan 2012 01:03:24 +0000 (17:03 -0800)]
(#10451) Add test coverage to apt::ppa

This commit adds test coverage for apt::ppa.

This test coverage is suficient to verify the
code changes that resolve the issue with
aptitude update not being called when ppas were
added (#10451).

12 years agoinclude_src parameter in example; Whitespace cleanup
Christian G. Warden [Tue, 20 Dec 2011 21:45:43 +0000 (13:45 -0800)]
include_src parameter in example; Whitespace cleanup

In the apt::source example, include the include_src parameter.  Clean-up
whitespace in the example to be consistent with the style guide.

12 years agoMerge pull request #7 from cwarden/patch-1
Garrett Honeycutt [Tue, 20 Dec 2011 20:33:29 +0000 (12:33 -0800)]
Merge pull request #7 from cwarden/patch-1

fix typos in "repositories"

12 years agofix typos in "repositories"
Christian G. Warden [Tue, 20 Dec 2011 20:06:24 +0000 (12:06 -0800)]
fix typos in "repositories"

12 years agoFix (#10451) - apt::ppa fails to "apt-get update" when new PPA source is added
Matthias Pigulla [Wed, 2 Nov 2011 14:40:10 +0000 (15:40 +0100)]
Fix (#10451) - apt::ppa fails to "apt-get update" when new PPA source is added

12 years agoMerge pull request #3 from rnavarro/master
Matthaus Litteken [Fri, 26 Aug 2011 21:39:11 +0000 (14:39 -0700)]
Merge pull request #3 from rnavarro/master

Fixed the infinite ppa add bug.

12 years agoRefactored as per mlitteken
Robert Navarro [Thu, 25 Aug 2011 02:52:42 +0000 (22:52 -0400)]
Refactored as per mlitteken

* https://github.com/rnavarro/puppet-apt/commit/1af9a13c40c33e1ab8fb56f33cb9aa5e16cead0e#commitcomment-539287

12 years agoAdded some crazy bash madness to check if the ppa is installed already. Otherwise...
Robert Navarro [Thu, 18 Aug 2011 05:37:54 +0000 (02:37 -0300)]
Added some crazy bash madness to check if the ppa is installed already. Otherwise the manifest tries to add it on every run!

12 years ago(#8720) Replace Apt::Ppa with Apt::Builddep
Spencer Krum [Tue, 2 Aug 2011 22:08:39 +0000 (15:08 -0700)]
(#8720) Replace Apt::Ppa with Apt::Builddep

Probably a copy & paste error

Reviewed-by: Matthaus Litteken <matthaus@puppetlabs.com>
Signed-off-by: Spencer Krum <spencer@puppetlabs.com>
12 years agoadded builddep command.
Monty Taylor [Sun, 24 Jul 2011 22:12:25 +0000 (18:12 -0400)]
added builddep command.

13 years agoadded the ability to specify the content of a key
Dan Bode [Fri, 3 Jun 2011 07:20:00 +0000 (00:20 -0700)]
added the ability to specify the content of a key

Allows us to pass key_content when we specify a source.

13 years agoFixes ppa test.
Dan Bode [Mon, 30 May 2011 17:43:15 +0000 (10:43 -0700)]
Fixes ppa test.

13 years agoreformatted whitespace to match recommended style
Dan Bode [Mon, 30 May 2011 17:24:06 +0000 (10:24 -0700)]
reformatted whitespace to match recommended style
of 2 space indentation.

13 years agoignore swap files.
Dan Bode [Mon, 30 May 2011 17:23:34 +0000 (10:23 -0700)]
ignore swap files.

13 years agoadded smoke tests for module.
Dan Bode [Mon, 30 May 2011 17:23:18 +0000 (10:23 -0700)]
added smoke tests for module.

13 years agoreformatted apt::ppa according to recommended
Dan Bode [Mon, 30 May 2011 17:22:04 +0000 (10:22 -0700)]
reformatted apt::ppa according to recommended
style.

removed require apt in favor of marking a
dependency.

converted release define into a class since
the resources are singletons.

13 years agoCreated a params class to hold global data.
Dan Bode [Mon, 30 May 2011 17:18:13 +0000 (10:18 -0700)]
Created a params class to hold global data.

- Removes coupling between global data and
  resources from apt class.
- Makes it easier to organize things into stages.

13 years agoAdded two params for apt class
Dan Bode [Mon, 30 May 2011 01:43:01 +0000 (18:43 -0700)]
Added two params for apt class

both of these params facilitate options that
ease the management of apt repos in dev
environments

1. disable_keys - allows repos without properly
signed keys
2. always_apt_update - refreshes via apt update
every time that puppet runs.

13 years agoUpdate LICENSE.
Jeff Wallace [Mon, 18 Apr 2011 15:36:04 +0000 (11:36 -0400)]
Update LICENSE.

13 years agoSupport ability to add more than one PPA
Scott McLeod [Mon, 18 Apr 2011 01:43:33 +0000 (21:43 -0400)]
Support ability to add more than one PPA

13 years agoAdd call to apt-update after add-apt-repository in apt::ppa
Ben Godfrey [Fri, 11 Mar 2011 18:14:31 +0000 (18:14 +0000)]
Add call to apt-update after add-apt-repository in apt::ppa

13 years agoAdd package definition for python-software-properties
Ben Godfrey [Fri, 11 Mar 2011 17:10:25 +0000 (17:10 +0000)]
Add package definition for python-software-properties

13 years agoAbs paths for all commands
Ben Godfrey [Fri, 11 Mar 2011 17:02:50 +0000 (17:02 +0000)]
Abs paths for all commands

13 years agoMerge branch 'master' of github.com:afternoon/puppet-apt
Ben Godfrey [Fri, 11 Mar 2011 16:42:32 +0000 (16:42 +0000)]
Merge branch 'master' of github.com:afternoon/puppet-apt

13 years agoMerge branch 'master' of github.com:evolvingweb/puppet-apt
Jeff Wallace [Mon, 12 Jul 2010 14:01:43 +0000 (10:01 -0400)]
Merge branch 'master' of github.com:evolvingweb/puppet-apt

13 years agoMerge branch 'master' of github.com:evolvingweb/puppet-apt
Jeff Wallace [Mon, 12 Jul 2010 14:01:43 +0000 (10:01 -0400)]
Merge branch 'master' of github.com:evolvingweb/puppet-apt

13 years agoAdding LICENSE
Jeff Wallace [Mon, 12 Jul 2010 14:01:08 +0000 (10:01 -0400)]
Adding LICENSE

14 years agoHeading fix in README
Jeff Wallace [Thu, 6 May 2010 17:50:59 +0000 (10:50 -0700)]
Heading fix in README

14 years agoTypo in README
Jeff Wallace [Tue, 27 Apr 2010 20:39:50 +0000 (16:39 -0400)]
Typo in README

14 years agoFirst commit
Jeff Wallace [Tue, 27 Apr 2010 20:38:28 +0000 (16:38 -0400)]
First commit