Commit graph

585 commits

Author SHA1 Message Date
Daniele Sluijters
b4c8a4f774 Merge pull request #315 from juniorsysadmin/apt-source-example-with-comment-parameter
Update apt::source example in README.md for #311
2014-06-23 08:54:38 +02:00
juniorsysadmin
d8df67f17f Update apt::source example in README.md for #311
This patch updates the apt::source example to include a comment (see #311)
2014-06-23 12:47:52 +10:00
Morgan Haskel
bcd1a8d53c Merge pull request #311 from juniorsysadmin/custom-comment-for-sources-list
Allow for custom comment in sources.list file
2014-06-19 09:50:54 -04:00
Hunter Haugen
c77a2f4239 Merge pull request #312 from mhaskel/test_osx_graceful_failure
Test osx graceful failure
2014-06-11 10:38:36 -07:00
Morgan Haskel
1e1c8b287a Add test case to ensure graceful failure on OSX. 2014-06-11 13:31:53 -04:00
juniorsysadmin
986bf8b02d Allow custom comment for sources list 2014-06-10 17:05:51 +10:00
innyso
3cbe24e18e Adding dash to key_server validate regex
Dashes should be allow when defining domain or url for key_server. Rspec
test cases are included to make sure no malform domain name or url are
used.
2014-06-10 01:07:04 +01:00
Travis Fields
ade6c33dd2 Merge pull request #309 from apenney/pin-rspec
Pin rspec
2014-06-09 08:42:57 -07:00
Ashley Penney
6766ed90c6 Pin rspec to 2.x. 2014-06-09 11:29:29 -04:00
Hunter Haugen
e5657a61b9 Merge pull request #306 from apenney/fix-changelog
Remove claims of support.
2014-06-04 11:03:19 -07:00
Ashley Penney
ce5d19b3de Remove claims of support. 2014-06-04 14:01:04 -04:00
Morgan Haskel
2a49e41656 Update PE version requirements. 2014-06-04 14:01:04 -04:00
innyso
1a3d6625f4 Allow url or domain name for key_server parameter
As some places dont have port 11371 open, they are required to use URL as
key_server instead of domain name therefore adding the capability to use URL or
domain name as key_server parameter
2014-06-02 18:05:20 +01:00
Ashley Penney
b1b649a740 Merge branch '1.5.x' of https://github.com/puppetlabs/puppetlabs-apt into 1.5.x 2014-05-30 12:46:14 -04:00
Morgan Haskel
199bd52cf3 Merge pull request #303 from apenney/fix-ubuntu-10-tests
Fix the tests for Ubuntu 10.04.
2014-05-29 13:08:15 -04:00
Morgan Haskel
4929de0d42 Merge pull request #303 from apenney/fix-ubuntu-10-tests
Fix the tests for Ubuntu 10.04.
2014-05-29 13:07:38 -04:00
Ashley Penney
ec07797399 Fix the tests for Ubuntu 10.04. 2014-05-29 13:05:51 -04:00
Ashley Penney
6697a9c971 Merge pull request #297 from frconil/sourceslist-comment
adding notice on top of sourceslist files
2014-05-22 10:42:15 -07:00
Ashley Penney
81ff5f87ca Merge pull request #298 from frconil/fix-apt-pin-regex
Fixed regex to follow APT requirements
2014-05-22 10:41:57 -07:00
Ashley Penney
99a0b07a22 Merge pull request #301 from mhaskel/1.5.0-prep
1.5.0 prep
2014-05-21 16:29:26 -07:00
Morgan Haskel
26ea5cc6f2 Update PE version requirements. 2014-05-21 19:26:07 -04:00
Ashley Penney
8e0887cafb Merge branch '1.5.x' of https://github.com/puppetlabs/puppetlabs-apt into 1.5.x 2014-05-21 11:19:04 -07:00
Ashley Penney
ba074344fe Merge pull request #300 from apenney/fix-tests
Block this from running on unsupported platforms.
2014-05-21 10:39:46 -07:00
Ashley Penney
33584fd238 Merge pull request #300 from apenney/fix-tests
Block this from running on unsupported platforms.
2014-05-21 10:39:17 -07:00
Ashley Penney
71ebb94283 Block this from running on unsupported platforms. 2014-05-21 10:38:24 -07:00
Hunter Haugen
de471c36df Merge pull request #299 from mhaskel/1.5.0-prep
1.5.0 prep
2014-05-20 13:27:40 -07:00
Morgan Haskel
b2381c6673 Fixing lint and adding the trusty nodeset (not sure how that was missed) 2014-05-20 16:24:28 -04:00
François Conil
1891912f84 Fixed regex to actually follow APT requirements
Previous implementation would overwrite the file name and
potentially include characters that would cause apt to ignore
the pref file
2014-05-19 15:33:06 +10:00
François Conil
3fad56d266 adding notice on top of sourceslist files
Useful to figure out what is managed by puppet and what isn't when
 not setting up the option to purge sourceslist files
2014-05-19 15:24:42 +10:00
Ashley Penney
f335066378 Claim PE3.3 support. 2014-05-15 14:58:49 -04:00
Morgan Haskel
0da464de35 Merge pull request #287 from oc243/master
Implement fancy progress bars configuration.
2014-05-15 13:45:46 -04:00
Ashley Penney
d7889cf47b Prepare for 1.5.0. 2014-05-14 16:28:06 -04:00
Ashley Penney
3a4432ad73 Merge pull request #294 from apenney/14x-merge
14x merge
2014-05-14 13:18:18 -04:00
Ashley Penney
7492f375fe Merge branch '1.4.x' into 14x-merge 2014-05-14 13:17:19 -04:00
Oliver Chick
2cdcd3b06d Implement fancy progress bars configuration.
Ubuntu 14.04 ships with apt 0.9.15, has a ``fancy progress bar'', which
is a green bar that shows at the bottom of the terminal showing progress
throughout install.

This patch enables the progress bar, which is usually done by running
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
2014-05-14 12:02:37 +01:00
Ashley Penney
a45c9a8b58 Merge pull request #292 from daenney/test-puppet-35
Drop testing on 3.3, add 3.5.
2014-05-08 10:44:11 -04:00
Daniele Sluijters
b7bd7f43d9 Drop testing on 3.3, add 3.5. 2014-05-08 09:54:08 +02:00
Ashley Penney
d33a4c103f Merge pull request #290 from dpnl87/wheezy-preference-fix
Do not add bogus line to apt preference file on Debian Wheezy
2014-05-05 11:54:52 -04:00
Daniel Paulus
f62678b22e Add dpaulus to the contributors list 2014-05-05 14:39:25 +02:00
Daniel Paulus
ee0233066e Some code cleaning 2014-05-05 12:06:39 +02:00
Daniel Paulus
15630989da Fixed acceptance spec and add debian nodeset 2014-05-05 11:57:42 +02:00
Daniel Paulus
c327d3d7bf Testing if we are not touching the preference file when purge mode is off 2014-05-03 00:13:17 +02:00
Daniel Paulus
36b7b8abff Updated readme to indicate danger of setting preference purge options 2014-05-03 00:06:23 +02:00
Daniel Paulus
e337a24389 Remove the preference file for all supported platforms when in purge mode 2014-05-02 23:35:54 +02:00
Daniel Paulus
d3d6fde6e7 Do not add bogus line to apt preference file on Debian Wheezy 2014-05-02 17:56:06 +02:00
Ashley Penney
84cee791c3 Merge pull request #286 from apenney/fix-for-post-wheezy
unattended_upgrades: Fix matching security archive
2014-04-22 20:46:55 -04:00
Daniele Sluijters
156eaac061 unattended_upgrades: Fix matching security archive
The default configuration we were writing for Debian was only working
for Squeeze, from Wheezy and onwards this wasn't working anymore. This
has to do with the fact that we should now be using Origins-Pattern
according to the unattended-upgrades docs. However, Ubuntu didn't
entirely get with the program yet...

This change reflects the defaults that unattended-upgrade installs on
every platform we support. In order to do so the unattended-upgrades
Debian archive for Squeeze, Wheezy, Lucid, Precise and Trusty were
downloaded and the default /etc/apt/apt.conf.d/50unattended-upgrades
checked for its content with regard to using Allow-Origins or
Origins-Pattern.

Fixes #277
2014-04-23 00:36:40 +02:00
Ashley Penney
dcac07e034 Merge pull request #285 from blkperl/fix_metadata
Fix metadata.json file
2014-04-17 13:00:50 -04:00
Ashley Penney
4c7150a5be Add back in missing fields to work around Puppet bug.
(cherry picked from commit dc47271716)
2014-04-15 15:20:25 -07:00
Ashley Penney
4c8a99b9eb Prepare metadata for supported module release.
(cherry picked from commit ab03a989df)
2014-04-15 15:20:25 -07:00