puppet-modules/puppetlabs-apt.git
7 years agofix whitespace
Ben Ford [Wed, 21 Jun 2017 15:15:51 +0000 (08:15 -0700)]
fix whitespace

7 years agoThis class should be private
Ben Ford [Fri, 10 Feb 2017 00:28:45 +0000 (16:28 -0800)]
This class should be private

Provides a more useful error message when users try to use this class by itself. Without this fix, you'll get something like

```
Error: Evaluation Error: Operator '[]' is not applicable to an Undef Value. at /etc/puppetlabs/code/environments/production/modules/apt/manifests/update.pp:7:8"?
```

7 years agoMerge pull request #654 from puppetlabs/hunner_msync
Eric Putnam [Sat, 21 Jan 2017 01:11:09 +0000 (17:11 -0800)]
Merge pull request #654 from puppetlabs/hunner_msync

(MODULES-4098) Sync the rest of the files

7 years ago(MODULES-4098) Sync the rest of the files hunner_msync
Hunter Haugen [Fri, 20 Jan 2017 00:11:40 +0000 (16:11 -0800)]
(MODULES-4098) Sync the rest of the files

7 years agoMerge pull request #650 from puppetlabs/hunner_msync
Eric Putnam [Wed, 11 Jan 2017 16:45:15 +0000 (11:45 -0500)]
Merge pull request #650 from puppetlabs/hunner_msync

(MODULES-4097) Sync travis.yml

7 years agoMerge pull request #652 from puppetlabs/implement-beaker-module_install_helper
Eric Putnam [Wed, 11 Jan 2017 14:48:43 +0000 (09:48 -0500)]
Merge pull request #652 from puppetlabs/implement-beaker-module_install_helper

[MODULES-4224] Implement beaker-module_install_helper

7 years ago(MODULES-4097) Sync travis.yml
Hunter Haugen [Thu, 5 Jan 2017 23:31:01 +0000 (15:31 -0800)]
(MODULES-4097) Sync travis.yml

7 years ago[MODULES-4224] Implement beaker-module_install_helper implement-beaker-module_install_helper
Wilson McCoubrey [Tue, 10 Jan 2017 10:43:54 +0000 (10:43 +0000)]
[MODULES-4224] Implement beaker-module_install_helper

7 years agoMerge pull request #646 from puppetlabs/modsync
Hunter Haugen [Thu, 15 Dec 2016 00:24:47 +0000 (16:24 -0800)]
Merge pull request #646 from puppetlabs/modsync

(FM-5972) gettext and spec.opts

7 years agogettext and spec.opts modsync
Eric Putnam [Wed, 14 Dec 2016 21:28:43 +0000 (13:28 -0800)]
gettext and spec.opts

7 years agoMerge pull request #641 from DavidS/use-stdlib-deprecation
TP Honey [Wed, 14 Dec 2016 15:16:11 +0000 (15:16 +0000)]
Merge pull request #641 from DavidS/use-stdlib-deprecation

Use stdlib deprecation

7 years agoFix for tests against PR-641
Helen Campbell [Wed, 14 Dec 2016 14:37:54 +0000 (14:37 +0000)]
Fix for tests against PR-641

7 years agoMerge pull request #644 from eputnam/spec_opts
Hunter Haugen [Tue, 6 Dec 2016 23:32:39 +0000 (15:32 -0800)]
Merge pull request #644 from eputnam/spec_opts

(maint) updates spec.opts in prep for parallel_spec

7 years agoremoves spec.opts
Eric Putnam [Tue, 6 Dec 2016 22:20:23 +0000 (14:20 -0800)]
removes spec.opts

7 years agoMerge pull request #643 from puppetlabs/hunner_msync
Eric Putnam [Fri, 2 Dec 2016 19:43:12 +0000 (11:43 -0800)]
Merge pull request #643 from puppetlabs/hunner_msync

(MODULES-3631) msync Gemfile for 1.9 frozen strings

7 years ago(MODULES-3631) msync Gemfile for 1.9 frozen strings
Hunter Haugen [Thu, 1 Dec 2016 19:36:52 +0000 (11:36 -0800)]
(MODULES-3631) msync Gemfile for 1.9 frozen strings

7 years agoMerge pull request #638 from lrrb/master
Eric Putnam [Tue, 29 Nov 2016 00:36:43 +0000 (16:36 -0800)]
Merge pull request #638 from lrrb/master

remove port number from hostname

7 years agoUse the stdlib deprecation() function
David Schmitt [Sun, 27 Nov 2016 17:03:26 +0000 (17:03 +0000)]
Use the stdlib deprecation() function

7 years agoUpdate to require using stdlib 4.13 for deprecation function
David Schmitt [Sun, 27 Nov 2016 16:26:20 +0000 (16:26 +0000)]
Update to require using stdlib 4.13 for deprecation function

7 years agoremove port number from hostname
lrrb [Wed, 16 Nov 2016 22:06:37 +0000 (23:06 +0100)]
remove port number from hostname

Solve the issue reported in https://tickets.puppetlabs.com/browse/MODULES-4104 :  remove the port number from repository location in order to get the host name of the repository.

7 years agoMerge pull request #636 from puppetlabs/hunner_msync
Eric Putnam [Thu, 10 Nov 2016 18:59:08 +0000 (10:59 -0800)]
Merge pull request #636 from puppetlabs/hunner_msync

(MODULES-3704) Update gemfile template to be identical

7 years ago(MODULES-3704) Update gemfile template to be identical
Hunter Haugen [Wed, 9 Nov 2016 17:58:08 +0000 (09:58 -0800)]
(MODULES-3704) Update gemfile template to be identical

7 years agoMerge pull request #635 from lkoranda/fix_string_comparison_error
Wilson McCoubrey [Wed, 9 Nov 2016 11:44:40 +0000 (11:44 +0000)]
Merge pull request #635 from lkoranda/fix_string_comparison_error

Avoid string comparison error

7 years agoAvoiding string comparison error
Lukas Koranda [Sun, 6 Nov 2016 22:01:42 +0000 (23:01 +0100)]
Avoiding string comparison error

Signed-off-by: Lukas Koranda <lkoranda@redhat.com>
7 years agomocha version update for test hanging issue
Eric Putnam [Wed, 2 Nov 2016 23:00:43 +0000 (16:00 -0700)]
mocha version update for test hanging issue

7 years agoMerge pull request #633 from puppetlabs/Paula_modulesync
Hunter Haugen [Mon, 31 Oct 2016 16:51:36 +0000 (09:51 -0700)]
Merge pull request #633 from puppetlabs/Paula_modulesync

(MODULES-3983) Update parallel_tests for ruby 2.0.0

7 years agoMerge pull request #631 from wilson208/key-server-timeout-fix
David Schmitt [Tue, 25 Oct 2016 10:21:35 +0000 (11:21 +0100)]
Merge pull request #631 from wilson208/key-server-timeout-fix

[MODULES-3562] Implement retry for tests which require modules to pull key from keyserver

7 years ago(MODULES-3983) Update parallel_tests for ruby 2.0.0 Paula_modulesync
Paula McMaw [Thu, 20 Oct 2016 08:47:24 +0000 (09:47 +0100)]
(MODULES-3983) Update parallel_tests for ruby 2.0.0

7 years agoImplement retry on tests which pull key from a key server which sometimes times out...
Wilson McCoubrey [Wed, 19 Oct 2016 16:29:36 +0000 (17:29 +0100)]
Implement retry on tests which pull key from a key server which sometimes times out (transient error)

7 years agoFix tests to check for idempotency correctly.
Wilson McCoubrey [Tue, 18 Oct 2016 10:15:38 +0000 (11:15 +0100)]
Fix tests to check for idempotency correctly.

7 years agoMerge pull request #629 from puppetlabs/modulesync
Eric Putnam [Tue, 11 Oct 2016 22:48:40 +0000 (15:48 -0700)]
Merge pull request #629 from puppetlabs/modulesync

Update modulesync_config [51f469d]

7 years agoMerge pull request #628 from cpavanrun/master
David Schmitt [Tue, 11 Oct 2016 09:42:45 +0000 (10:42 +0100)]
Merge pull request #628 from cpavanrun/master

Undef default for $notify_update in source.pp results in problem with Puppet 3.7.2

7 years agoUpdate modulesync_config [51f469d] modulesync
David Schmitt [Mon, 10 Oct 2016 13:18:46 +0000 (14:18 +0100)]
Update modulesync_config [51f469d]

7 years agoMerge pull request #624 from seffenberg-naspers/fix_apt_key_with_userinfo
Bryan Jen [Mon, 26 Sep 2016 16:25:23 +0000 (17:25 +0100)]
Merge pull request #624 from seffenberg-naspers/fix_apt_key_with_userinfo

apt_key now really works with userinfo for http(s)

7 years agoOn Puppet 3.7.2 the undef default for $notify_update will overwrite the default boole...
C.P.A van Run [Tue, 20 Sep 2016 15:17:00 +0000 (17:17 +0200)]
On Puppet 3.7.2 the undef default for $notify_update will overwrite the default boolean setting for $notify_update in apt::settings resulting in an error 400: "" is not a boolean

7 years agoMerge pull request #627 from puppetlabs/release
Bryan Jen [Tue, 20 Sep 2016 13:35:58 +0000 (14:35 +0100)]
Merge pull request #627 from puppetlabs/release

Release Mergeback

7 years agoMerge pull request #626 from underscorgan/maint/master/update-gpg-key
Daniele Sluijters [Mon, 19 Sep 2016 20:15:50 +0000 (22:15 +0200)]
Merge pull request #626 from underscorgan/maint/master/update-gpg-key

(maint) Update the gpg key

7 years ago(maint) Update the gpg key
Morgan Rhodes [Fri, 16 Sep 2016 00:29:49 +0000 (17:29 -0700)]
(maint) Update the gpg key

7 years agoMerge pull request #625 from HelenCampbell/rprep 2.3.0
David Schmitt [Wed, 14 Sep 2016 14:55:15 +0000 (15:55 +0100)]
Merge pull request #625 from HelenCampbell/rprep

Release prep 2.3.0

7 years agoRelease prep
Helen Campbell [Tue, 13 Sep 2016 16:44:30 +0000 (17:44 +0100)]
Release prep

7 years agoapt_key now really works with userinfo for http(s)
Simon Effenberg [Tue, 13 Sep 2016 13:21:15 +0000 (15:21 +0200)]
apt_key now really works with userinfo for http(s)

now http and https sources for apt_key can take a userinfo
as it should be already since #384

```
apt_key { '...':
  source => 'https://username:password@myhost.com/mypath/key.gpg'
  ..
}
```

7 years agoMerge pull request #616 from ghoneycutt/add_confs
Daniele Sluijters [Thu, 1 Sep 2016 09:03:59 +0000 (12:03 +0300)]
Merge pull request #616 from ghoneycutt/add_confs

Add ability to specify a hash of apt::conf defines

7 years agoAdd ability to specify a hash of apt::conf defines
Garrett Honeycutt [Fri, 15 Jul 2016 18:34:28 +0000 (11:34 -0700)]
Add ability to specify a hash of apt::conf defines

7 years agoMerge pull request #622 from puppetlabs/modulesync
TP Honey [Tue, 30 Aug 2016 09:27:09 +0000 (10:27 +0100)]
Merge pull request #622 from puppetlabs/modulesync

Update modulesync_config [a3fe424]

7 years agoUpdate modulesync_config [a3fe424]
David Schmitt [Fri, 26 Aug 2016 07:28:58 +0000 (09:28 +0200)]
Update modulesync_config [a3fe424]

7 years agoMerge pull request #621 from puppetlabs/modulesync
Bryan Jen [Thu, 25 Aug 2016 15:33:09 +0000 (08:33 -0700)]
Merge pull request #621 from puppetlabs/modulesync

Update modulesync_config [0d59329]

7 years agoUpdate modulesync_config [0d59329]
David Schmitt [Thu, 25 Aug 2016 14:13:18 +0000 (16:13 +0200)]
Update modulesync_config [0d59329]

7 years agoMerge pull request #618 from puppetlabs/update-modulesync
Helen [Thu, 28 Jul 2016 14:46:41 +0000 (15:46 +0100)]
Merge pull request #618 from puppetlabs/update-modulesync

(MAINT) Update for modulesync_config 72d19f184

7 years ago(MAINT) Update for modulesync_config 72d19f184 update-modulesync
David Schmitt [Thu, 28 Jul 2016 09:50:23 +0000 (10:50 +0100)]
(MAINT) Update for modulesync_config 72d19f184

7 years agoMerge pull request #619 from DavidS/fix
Hunter Haugen [Wed, 27 Jul 2016 22:13:32 +0000 (15:13 -0700)]
Merge pull request #619 from DavidS/fix

Fix syntax error

7 years agoFix syntax error
David Schmitt [Wed, 27 Jul 2016 17:35:58 +0000 (18:35 +0100)]
Fix syntax error

7 years agoMerge pull request #617 from hunner/strict_error
David Schmitt [Wed, 27 Jul 2016 15:54:36 +0000 (16:54 +0100)]
Merge pull request #617 from hunner/strict_error

(MODULES-3414) Limit non-strict parsing to pre-3.5.0 only

7 years ago(MODULES-3414) Limit non-strict parsing to pre-3.5.0 only
Hunter Haugen [Wed, 27 Jul 2016 04:23:12 +0000 (21:23 -0700)]
(MODULES-3414) Limit non-strict parsing to pre-3.5.0 only

Puppet 3.5.0 introduced strict variables and the module handles strict
variables by using the defined() function. This does not work on prior
versions of puppet so we must gate based on that version.

Puppet 4 series has a new setting `strict` that may be set to enforce
strict variables while `strict_variables` remains unset (see PUP-6358)
which causes this conditional to erroniously use non-strict 3.5-era
parsing and fail.

The new conditional corrects the cases such that strict variable
behavior happens on versions 3.5.0 and later.

7 years agoMerge pull request #615 from DavidS/modulesync
TP Honey [Fri, 8 Jul 2016 13:44:44 +0000 (14:44 +0100)]
Merge pull request #615 from DavidS/modulesync

(MODULES-3581) modulesync [067d08a]

7 years ago(MODULES-3581) modulesync [067d08a]
David Schmitt [Fri, 8 Jul 2016 12:34:01 +0000 (13:34 +0100)]
(MODULES-3581) modulesync [067d08a]

7 years agoMerge pull request #613 from nicobn/master
TP Honey [Thu, 7 Jul 2016 13:36:11 +0000 (14:36 +0100)]
Merge pull request #613 from nicobn/master

Fixed "unless" test condition for ppa repository

7 years agoReplaced `-s` with `-f` in ppa rspec tests
Nick Berard [Wed, 6 Jul 2016 00:30:23 +0000 (17:30 -0700)]
Replaced `-s` with `-f` in ppa rspec tests

See 38263ac768349bf0eab56194aa70f4a78fb664af. The previous commit makes the tests fail.

8 years agoAfter the repository is added, the ${::apt::sources_list_d}/${sources_list_d_filename...
Nick Berard [Sat, 2 Jul 2016 00:31:05 +0000 (17:31 -0700)]
After the repository is added, the ${::apt::sources_list_d}/${sources_list_d_filename} file is created as an empty file.
The unless condition of Exec["add-apt-repository-${name}"] calls test -s, which returns 1 if the file is empty. Because
the file is empty, the unless condition is never true and the repository is added on every execution. This commit
replaces the -s test condition with -f, which is true if the file exists or false otherwise.

8 years agoMerge pull request #612 from puppetlabs/modulesync
David Schmitt [Thu, 30 Jun 2016 12:43:26 +0000 (13:43 +0100)]
Merge pull request #612 from puppetlabs/modulesync

{maint} modulesync 0794b2c

8 years ago{maint} modulesync 0794b2c
tphoney [Thu, 30 Jun 2016 10:53:46 +0000 (11:53 +0100)]
{maint} modulesync 0794b2c

8 years agoMerge pull request #611 from mattkenn4545/master
TP Honey [Tue, 28 Jun 2016 10:41:43 +0000 (11:41 +0100)]
Merge pull request #611 from mattkenn4545/master

Fix TYPO

8 years agoFix TYPO
Matthew Kennedy [Mon, 27 Jun 2016 21:39:43 +0000 (15:39 -0600)]
Fix TYPO

Ubuntu not Ubunto

8 years agoMerge pull request #610 from puppetlabs/unused-lsb
Bryan Jen [Tue, 7 Jun 2016 16:20:12 +0000 (09:20 -0700)]
Merge pull request #610 from puppetlabs/unused-lsb

apt/params: Remove unused LSB facts

8 years agoMerge pull request #609 from hfm/fix-regexp
Bryan Jen [Mon, 6 Jun 2016 16:25:07 +0000 (09:25 -0700)]
Merge pull request #609 from hfm/fix-regexp

Fix regexp for $ensure params

8 years agoapt/params: Remove unused LSB facts unused-lsb
Daniele Sluijters [Sun, 5 Jun 2016 10:29:00 +0000 (12:29 +0200)]
apt/params: Remove unused LSB facts

8 years agoFix regexp for $ensure params
OKUMURA Takahiro [Sat, 4 Jun 2016 18:09:31 +0000 (03:09 +0900)]
Fix regexp for $ensure params

/\Aabsent|present\Z/ match wrong values like 'absentaaa' or 'aaapresent'.

And add tests to the context of 'invalid ensure'.

8 years agoMerge pull request #608 from DavidS/use-more-pool
Hunter Haugen [Tue, 24 May 2016 19:40:20 +0000 (12:40 -0700)]
Merge pull request #608 from DavidS/use-more-pool

Update tests to use the pool servers instead of ubuntu's

8 years agoUpdate tests to use the pool servers instead of ubuntu's
David Schmitt [Tue, 24 May 2016 18:59:51 +0000 (19:59 +0100)]
Update tests to use the pool servers instead of ubuntu's

Using the ubuntu keyserver causes stability issues during CI runs,
hopefully the pool servers are less fragile.

8 years agoMerge pull request #606 from DavidS/use-key-server-pool
TP Honey [Tue, 24 May 2016 13:32:58 +0000 (14:32 +0100)]
Merge pull request #606 from DavidS/use-key-server-pool

Use hkps.pool.sks-keyservers.net instead of pgp.mit.edu

8 years agoRemove useless, failing test; cleanup whitespace
David Schmitt [Tue, 24 May 2016 11:20:33 +0000 (12:20 +0100)]
Remove useless, failing test; cleanup whitespace

8 years agoUse hkps.pool.sks-keyservers.net instead of pgp.mit.edu
David Schmitt [Fri, 20 May 2016 16:54:29 +0000 (17:54 +0100)]
Use hkps.pool.sks-keyservers.net instead of pgp.mit.edu

The MIT server is sometimes unreliable during tests. The pool should
provide a much stabler service.

8 years agoMerge pull request #607 from HelenCampbell/XenialTestFix
David Schmitt [Tue, 24 May 2016 10:44:46 +0000 (11:44 +0100)]
Merge pull request #607 from HelenCampbell/XenialTestFix

Removal of a breaking test for Xenial

8 years agoRemoval of a breaking test for Xenial
Helen Campbell [Mon, 23 May 2016 16:02:26 +0000 (17:02 +0100)]
Removal of a breaking test for Xenial

8 years agoMerge pull request #605 from imphil/master
TP Honey [Tue, 3 May 2016 10:36:27 +0000 (11:36 +0100)]
Merge pull request #605 from imphil/master

Install software-properties-common for xenial

8 years agoInstall software-properties-common for xenial
Philipp Wagner [Fri, 29 Apr 2016 12:20:53 +0000 (14:20 +0200)]
Install software-properties-common for xenial

Instead of adding every newer release of Ubuntu, let's assume that the
package name that is used today will be used in the future, until the
next change is necessary.

8 years agoMerge pull request #604 from tdb/fix_version_check
TP Honey [Thu, 28 Apr 2016 10:40:52 +0000 (11:40 +0100)]
Merge pull request #604 from tdb/fix_version_check

Fix version check on 16.04.

8 years agoFix version check on 16.04.
Tim Bishop [Wed, 27 Apr 2016 15:26:25 +0000 (16:26 +0100)]
Fix version check on 16.04.

The old test obviously broke on 16.04. Switch to using versioncmp
since it does the right thing for us.

8 years agoMerge pull request #602 from DG-i/master
David Schmitt [Tue, 19 Apr 2016 13:22:38 +0000 (14:22 +0100)]
Merge pull request #602 from DG-i/master

apt::setting expects priority to be an integer, set defaults accordingly

8 years agoapt::setting expects priority to be an integer, set defaults accordingly
Mathias Merscher [Tue, 19 Apr 2016 10:28:45 +0000 (12:28 +0200)]
apt::setting expects priority to be an integer, set defaults accordingly

Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
8 years agoMerge pull request #600 from puppetlabs/update-msync
Greg Hardy [Tue, 19 Apr 2016 10:03:12 +0000 (11:03 +0100)]
Merge pull request #600 from puppetlabs/update-msync

Update to newest modulesync_configs [9ca280f]

8 years agoUpdate to newest modulesync_configs [9ca280f] update-msync
David Schmitt [Wed, 13 Apr 2016 19:49:37 +0000 (20:49 +0100)]
Update to newest modulesync_configs [9ca280f]

8 years agoMerge pull request #596 from danielhoherd/master
TP Honey [Tue, 12 Apr 2016 09:46:39 +0000 (10:46 +0100)]
Merge pull request #596 from danielhoherd/master

Expose notify_update to apt::source

8 years agoMerge pull request #599 from DavidS/fix-strict-var-testing
TP Honey [Thu, 7 Apr 2016 18:09:05 +0000 (19:09 +0100)]
Merge pull request #599 from DavidS/fix-strict-var-testing

Fix STRICT_VARIABLE testing

8 years ago(maint) clean up key_compat_specs
David Schmitt [Thu, 7 Apr 2016 17:33:55 +0000 (18:33 +0100)]
(maint) clean up key_compat_specs

8 years ago(maint) Update ke_compat_spec to run under STRICT_VARIABLES
David Schmitt [Thu, 7 Apr 2016 17:31:58 +0000 (18:31 +0100)]
(maint) Update ke_compat_spec to run under STRICT_VARIABLES

8 years agoMerge pull request #581 from robinelfrink/master
Hunter Haugen [Thu, 7 Apr 2016 17:13:46 +0000 (10:13 -0700)]
Merge pull request #581 from robinelfrink/master

Make apt_updates facts use /usr/bin/apt-get.

8 years agoExposing notify_update to apt::source
Daniel Hoherd [Fri, 18 Mar 2016 17:08:30 +0000 (10:08 -0700)]
Exposing notify_update to apt::source

8 years agoMerge pull request #595 from danielhoherd/master
Daniele Sluijters [Thu, 17 Mar 2016 09:53:42 +0000 (10:53 +0100)]
Merge pull request #595 from danielhoherd/master

Typo: missing colon

8 years agoTypo: missing colon
Daniel Hoherd [Thu, 17 Mar 2016 00:58:08 +0000 (17:58 -0700)]
Typo: missing colon

8 years agoMerge pull request #593 from puppetlabs/2.2.x
Hunter Haugen [Mon, 29 Feb 2016 21:52:36 +0000 (13:52 -0800)]
Merge pull request #593 from puppetlabs/2.2.x

Mergeback 2.2.x

8 years agoMerge pull request #592 from HelenCampbell/2.2.2 2.2.x 2.2.2
David Schmitt [Thu, 25 Feb 2016 13:45:59 +0000 (13:45 +0000)]
Merge pull request #592 from HelenCampbell/2.2.2

Prep for 2.2.2 Release

8 years agoPrep for 2.2.2 Release
Helen Campbell [Thu, 25 Feb 2016 12:50:12 +0000 (12:50 +0000)]
Prep for 2.2.2 Release

8 years agoMerge pull request #590 from DavidS/debian-8-support
Helen [Wed, 17 Feb 2016 12:13:16 +0000 (12:13 +0000)]
Merge pull request #590 from DavidS/debian-8-support

Update metadata to note Debian 8 support

8 years agoUpdate metadata to note Debian 8 support
David Schmitt [Wed, 17 Feb 2016 11:52:31 +0000 (11:52 +0000)]
Update metadata to note Debian 8 support

8 years agoMerge pull request #589 from DavidS/fm-4046-update-msync
TP Honey [Tue, 16 Feb 2016 17:04:03 +0000 (17:04 +0000)]
Merge pull request #589 from DavidS/fm-4046-update-msync

(FM-4046) Update to current msync configs [006831f]

8 years ago(FM-4046) Update to current msync configs [006831f]
David Schmitt [Tue, 16 Feb 2016 15:59:57 +0000 (15:59 +0000)]
(FM-4046) Update to current msync configs [006831f]

This moves all copyright statements to the NOTICE file in accordance with the ASFs guidelines on applying the Apache-2.0 license.

8 years agoMake apt_updates facts use /usr/bin/apt-get.
Robin Elfrink [Fri, 12 Feb 2016 22:21:28 +0000 (23:21 +0100)]
Make apt_updates facts use /usr/bin/apt-get.

/usr/lib/update-notifier/apt-check is not available on all systems,
but /usr/bin/apt-get is.

8 years agoMerge pull request #582 from imphil/master
Bryan Jen [Thu, 4 Feb 2016 19:29:15 +0000 (12:29 -0700)]
Merge pull request #582 from imphil/master

Look for correct sources.list.d file for apt::ppa

8 years agoLook for correct sources.list.d file for apt::ppa
Philipp Wagner [Wed, 3 Feb 2016 16:13:46 +0000 (17:13 +0100)]
Look for correct sources.list.d file for apt::ppa

In Ubuntu 15.10 the path of the apt sources file, which is generated by
apt-add-repository, changed to include the distid. This breaks apt::ppa
idempotency, since it does not recognize the repository is already
added.

Reported on puppet-users as well:
https://groups.google.com/forum/#!topic/puppet-users/YzeMyZYUo98

8 years agoEnsure PPAs in tests have valid form
Philipp Wagner [Wed, 3 Feb 2016 16:09:40 +0000 (17:09 +0100)]
Ensure PPAs in tests have valid form

"man apt-add-repository" notes: "REPOSITORY can be either a line that
can be added directly to sources.list(5), in the form ppa:<user>/<ppa-name>
for adding Personal  Package  Archives".

Fix the tests to always use the format ppa:<user>/<ppa-name> when adding
PPAs.