Commit graph

996 commits

Author SHA1 Message Date
Daniele Sluijters
06bce848b0 Merge pull request #490 from mhaskel/lint_cleanup
Lint cleanup
2015-04-06 15:06:24 -04:00
Morgan Haskel
7aba77e2f6 Lint cleanup 2015-04-06 11:47:23 -07:00
Daniele Sluijters
43ab92c476 Merge pull request #483 from mhaskel/examples
Add missing examples for 'removed' functionality
2015-03-27 14:11:05 +01:00
Morgan Haskel
0f26779a2a Example updates 2015-03-26 23:11:58 -04:00
Daniele Sluijters
913a64e1fd Merge pull request #484 from mhaskel/merge_master_to_next
Merge master to next
2015-03-26 08:48:14 +01:00
Morgan Haskel
dc746734f1 Merge remote-tracking branch 'upstream/master' into merge_master_to_next 2015-03-25 18:32:09 -04:00
Daniele Sluijters
e671b38635 Merge pull request #482 from leoarnold/master
Updated key fingerprints in README to match v1.8.0 requirements
2015-03-25 20:36:11 +01:00
Morgan Haskel
073e8f162a Example for fancy progress. 2015-03-25 15:30:16 -04:00
Morgan Haskel
1b4d8ba991 Example for disabling keys 2015-03-25 15:16:04 -04:00
Leo Arnold
a96df4b25b Updated key fingerprints in README to match v1.8.0 requirements 2015-03-25 20:09:22 +01:00
Morgan Haskel
895ecb5737 Add examples for force. 2015-03-25 13:08:13 -04:00
Morgan Haskel
411679c3c0 We've got things in params, let's use those! 2015-03-25 11:13:12 -04:00
Morgan Haskel
556c1adfaa Add an example for backports 2015-03-25 11:09:07 -04:00
Morgan Haskel
79890bc7ae We got rid of the funny proxy removal 2015-03-25 11:09:07 -04:00
Daniele Sluijters
6d12a039b7 Merge pull request #479 from mhaskel/update_anchors
(MODULES-1156, MODULES-769) Update anchors
2015-03-25 08:30:11 +01:00
Morgan Haskel
911c4de90f (MODULES-1156, MODULES-769) Remove unnecessary anchors
`apt::ppa` and `apt::setting` don't actually include `apt::update` so
anchors are unnecessary. Move `apt` to use contain instead of anchors,
since it wasn't anchoring properly anyways. Update the tests to make
sure it can have settings and ppas depending on each other without
cycles.
2015-03-24 18:18:14 -04:00
Daniele Sluijters
1fdf237af4 Merge pull request #480 from anodelman/master
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
2015-03-24 22:03:13 +01:00
Alice Nodelman
36e7dfef5a (BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
puppetdb, etc

- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
2015-03-24 11:40:24 -07:00
Daniele Sluijters
de43702055 Merge pull request #478 from GhostLyrics/update-readme-unattended-upgrades
Extend docs for unattended_upgrades
2015-03-22 23:54:46 +01:00
Alexander Skiba
6751213bc3 Extend docs for unattended_upgrades
documented more common parameters
2015-03-22 21:02:59 +01:00
Daniele Sluijters
794c758c51 README: update['frequency'] is not a boolean 2015-03-20 19:15:42 +01:00
Daniele Sluijters
d64fc7423f README: Add highlighting for code blocks. 2015-03-20 19:13:53 +01:00
Morgan Haskel
215b043063 Fix typo 2015-03-20 14:12:12 -04:00
Daniele Sluijters
2188a03fb5 Merge pull request #477 from mhaskel/doc_updates
Doc updates
2015-03-20 19:09:18 +01:00
Morgan Haskel
3730f31688 README updates for 2.x rewrite
All classes, defines, parameters, and examples should be up to date.
2015-03-20 14:07:09 -04:00
Daniele Sluijters
ff51f714ab Merge pull request #472 from mhaskel/acceptance_test_fixes
Acceptance test fixes
2015-03-19 10:16:15 +01:00
Daniele Sluijters
0cbd24a4e5 Merge pull request #473 from mhaskel/freq_cleanup
Remove `update['always'] = true` support
2015-03-19 10:14:56 +01:00
Daniele Sluijters
22c77994ca Merge pull request #474 from mhaskel/containers_ftw
Linux open-source builds are regularly maxed out.
2015-03-19 10:14:35 +01:00
Morgan Haskel
adf9634b71 Linux open-source builds are regularly maxed out.
Container-based are not. Let's switch!
2015-03-18 15:51:37 -07:00
Morgan Haskel
df47ca7ff4 Remove update['always'] = true support
We don't really need both of `update['always'] = true` and
`update['frequency'] = 'always'`.
2015-03-18 13:52:12 -07:00
Morgan Haskel
f5c6775564 Make the acceptance tests work 2015-03-18 12:56:29 -07:00
Morgan Haskel
c7354b90fb Actually make it possible to use apt_key
The provider wasn't updated for a parameter rename.
2015-03-18 12:51:37 -07:00
Bryan Jen
3bb6a838a9 Merge pull request #471 from mhaskel/merge_1.8.x_to_master
Merge 1.8.x to master
2015-03-17 16:59:49 -07:00
Hunter Haugen
47c6f338ed Merge pull request #469 from mhaskel/test_fixes
Update all the unit tests to look for full fingerprints
2015-03-16 17:22:18 -07:00
Morgan Haskel
6bf1ac351f Update all the unit tests to look for full fingerprints
Merged #466 too quickly
2015-03-16 16:40:46 -07:00
Hunter Haugen
d880408143 Merge pull request #468 from mhaskel/1.8.0-prep
1.8.0 prep
2015-03-16 14:30:19 -07:00
Morgan Haskel
396e11af3a Merge pull request #466 from paroga/master
Fix gpg key checking warings after f588f26
2015-03-16 14:16:08 -07:00
Morgan Haskel
58d06816e7 1.8.0 prep 2015-03-16 14:05:58 -07:00
Patrick Gansterer
61a4fb6979 Fix gpg key checking warings after f588f26
Use the full fingerprint for all keys to silence the warning.
2015-03-16 19:34:24 +01:00
Morgan Haskel
be54e18899 Merge pull request #465 from bootc/fixes/gpg2_date_parsing
apt_key: fix parsing invalid dates when using GnuPG 2.x
2015-03-16 10:56:28 -07:00
Chris Boot
a24c41247f apt_key: fix some whitespace issues 2015-03-15 22:47:15 +00:00
Chris Boot
42ab470d00 apt_key: fix parsing invalid dates when using GnuPG 2.x
If one should happen to have redirected /usr/bin/gpg to run GnuPG 2.x
rather than the more usual GnuPG 1.x, the apt_key provider fails with
the following error:

Could not prefetch apt_key provider 'apt_key': invalid date

This is because the output of "--with-colons" defaults to using
"fixed-list-mode" in 2.x but did not do so for 1.x. This new format
gives much more information about keys and also uses timestamps in
seconds from 1970-01-01 (UNIX epoch) rather than dates in the format
YYYY-MM-DD.

This patch adds "--fixed-list-mode" when calling apt-key, and adjusts
the code to parse the timestamps instead. This actually has several
advantages:

- Works the same with GnuPG 1.x and 2.x.
- More accurate expiry time tracking, not just entire days.
- No need to require 'date' any longer.
- Will allow the provider to expose more key information in future.

Tested on:
- Debian Wheezy (Puppet 2.7.23, Ruby 1.8.7p358)
- Debian Jessie (Puppet 3.7.2, Ruby 2.1.5p273)
2015-03-15 22:33:22 +00:00
Colleen Murphy
7c48eb2f0e Merge pull request #464 from mhaskel/README_cleanup
Update docs for unattended_upgrades
2015-03-13 15:33:12 -07:00
Morgan Haskel
399d3cae5a Update docs and test for $legacy_origin 2015-03-13 15:31:38 -07:00
Hunter Haugen
dbd1b0decb Merge pull request #463 from mhaskel/toggle-legacy-origin
Allow changing legacy_origin
2015-03-13 15:29:20 -07:00
Morgan Haskel
81bb96c898 Update docs and test for $legacy_origin 2015-03-13 14:56:53 -07:00
Mikko Pesari
3799e3a23c unattended_upgrades: Allow changing legacy_origin
This enables using Origins-Pattern in Ubuntu.
2015-03-13 14:50:16 -07:00
Morgan Haskel
97f70034c9 Merge pull request #459 from tphoney/modules-1675_check_gpg_version
initial commit for apt_key checking
2015-03-13 14:40:43 -07:00
Morgan Haskel
0f81525367 Merge pull request #456 from johanfleury/cleaning/template/unattended-upgrades
Cleaning 50unattended-upgrades.erb
2015-03-13 14:10:13 -07:00
Colleen Murphy
b67b91b53f Merge pull request #462 from mhaskel/optional_software_properties
Make installation of software-properties optional
2015-03-13 13:51:56 -07:00