Commit graph

732 commits

Author SHA1 Message Date
Daniele Sluijters
76c88af041 apt: Add apt::setting defined type.
This is a 'base' type. It's a simple wrapper around a file which takes
`type`, `ensure`, `content`, `source` and `file_perms`. It is intended
for usage by `apt::conf`, `apt::source` and an upcoming `apt::pref`.
2015-02-21 20:13:01 +01:00
Morgan Haskel
59c362a2c1 Merge pull request #426 from puppetlabs/daenney/fix-missing-param-and-naming
apt::params: Add two missing entries, use them.
2015-02-19 16:41:27 -08:00
Daniele Sluijters
ab928276cb Merge pull request #427 from mhaskel/required_packages
RFC - Remove required packages
2015-02-20 01:10:45 +01:00
Daniele Sluijters
3e407d70e0 apt::params: Add two missing entries, use them. 2015-02-20 01:06:26 +01:00
Morgan Haskel
bb3a1f0af0 Remove required packages
I'm not entirely clear on the history behind this feature, and this
feels sort of hack-y. If you could explain why this is needed that would
be awesome, or if it isn't just merge this :)
2015-02-19 15:39:14 -08:00
Daniele Sluijters
463a61c0ab Merge pull request #424 from mhaskel/hulk_smash
Hulk smash
2015-02-19 19:35:50 +01:00
Morgan Haskel
59782daea1 Fix lint issue in examples 2015-02-19 08:26:30 -08:00
Morgan Haskel
9f758e8b5f Fix acceptance tests 2015-02-18 13:42:55 -08:00
Morgan Haskel
1534042c93 Fix broken unit tests 2015-02-18 11:43:50 -08:00
Morgan Haskel
e626423b57 Placeholders for needed examples 2015-02-15 11:17:12 -08:00
Morgan Haskel
e965fe450d Update examples 2015-02-15 11:11:58 -08:00
Morgan Haskel
8ef58a456d Get rid of hold 2015-02-15 10:59:00 -08:00
Morgan Haskel
0809774006 Get rid of release 2015-02-15 10:54:33 -08:00
Morgan Haskel
8cc7d40dd9 Get rid of force 2015-02-15 10:52:57 -08:00
Morgan Haskel
90cc951753 get rid of builddep 2015-02-15 10:45:54 -08:00
Morgan Haskel
6dc52c169e Merge pull request #1 from puppet-community/daenney/remove_unattended_upgrades_remains
Remove some vars for unattended_upgrades.
2015-02-15 10:41:54 -08:00
Daniele Sluijters
4def3987e0 Remove some vars for unattended_upgrades. 2015-02-15 19:40:42 +01:00
Morgan Haskel
501a1b5627 stop including params everywhere 2015-02-15 10:25:36 -08:00
Morgan Haskel
9debb1a909 Remove backports and debian 2015-02-15 10:22:37 -08:00
Morgan Haskel
b09a699b8c move tests to examples 2015-02-15 09:48:10 -08:00
Morgan Haskel
87b087e9c0 Get rid of unattended upgrades and cleanup unused templates 2015-02-15 09:46:04 -08:00
Morgan Haskel
6b5e4d1790 and an acceptance test 2015-02-15 09:41:20 -08:00
Morgan Haskel
61080fb676 Unbreak broken tests 2015-02-15 09:39:17 -08:00
Morgan Haskel
6cdbe562ab Starting to clean up init.pp 2015-02-15 09:09:47 -08:00
Daniele Sluijters
da4a1dcecf Merge pull request #422 from cmurphy/lint
Ensure linter fails on lint warnings
2015-02-13 09:23:53 +01:00
Daniele Sluijters
6166de1f4a Merge pull request #421 from cmurphy/future
Update spec tests for future parser
2015-02-13 09:23:41 +01:00
Colleen Murphy
4d39089ac2 Ensure linter fails on lint warnings 2015-02-12 12:24:56 -08:00
Colleen Murphy
e05810d032 Update spec tests for future parser
Strings must be quoted in the future parser.
2015-02-12 12:24:02 -08:00
Daniele Sluijters
83ae566b08 Merge pull request #389 from stdietrich/global_header_partial
(MODULES-1200) Fix inconsistent header across files
2015-02-06 22:10:41 +01:00
Stefan Dietrich
443db5a7c2 (MODULES-1200) Fix inconsistent header across files 2015-02-06 21:16:05 +01:00
Daniele Sluijters
bf9b187405 Merge pull request #416 from mkrakowitzer/add_param_documentation
(doc) Add documentation for apt::key parameters and apt::pin parameters
2015-02-04 23:50:37 +01:00
Hunter Haugen
95bed8902f Merge pull request #418 from cmurphy/rspec
Pin rspec gems
2015-02-04 12:04:17 -08:00
Colleen Murphy
553e3004ba Pin rspec gems 2015-02-04 17:03:32 +01:00
Merritt Krakowitzer
e8bef852ed (doc) Add documentation for apt::key parameters and apt::pin parameters
Add documentation for apt::key parameters and apt::pin parameters.
Fix minor spelling error
2015-02-03 18:59:54 +02:00
Daniele Sluijters
157262e795 Merge pull request #414 from phaf/fix_doc_unattended_upgrades
Documentation: Fix typo and syntax for example of apt::unattended_upgrad...
2015-01-30 14:22:18 +01:00
Patric Hafner
9545a85b06 Documentation: Fix typo and syntax for example of apt::unattended_upgrades 2015-01-29 14:48:47 +01:00
Morgan Haskel
2415f23fca Merge pull request #398 from irconan/backports-pin
Separate apt::pin for apt::backports to allow pin by release instead of ...
2015-01-28 08:36:01 -08:00
Richard Connon
64f9c76a49 Separate apt::pin for apt::backports to allow pin by release instead of origin
Updated tests for backports
2015-01-28 12:34:18 +00:00
Morgan Haskel
958a0c1750 Merge pull request #395 from udienz/master
Add Ubuntu vivid (15.04) release
2015-01-26 14:26:13 -08:00
tphoney
f238bfdbe7 Merge pull request #411 from mhaskel/trusted_fix
Trusted will be a reserved word in Puppet 4
2015-01-21 11:14:33 -08:00
Morgan Haskel
3d25c08ec1 Trusted will be a reserved word in Puppet 4
Rename the new `trusted` parameter to `trusted_source`.
2015-01-21 10:54:37 -08:00
Daniele Sluijters
646b407027 Merge pull request #407 from mkrakowitzer/f3792625/trusted_param
Add support for parameter trusted MODULES-1658
2015-01-20 16:05:44 -05:00
Merritt Krakowitzer
4f0ebaced7 Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-apt into f3792625/trusted_param 2015-01-20 21:27:52 +02:00
Daniele Sluijters
6b23f3cb78 Merge pull request #403 from WolverineFan/fix_apt_updates_facts
Fix apt_has_updates fact not parsing apt-check output correctly
2015-01-20 12:39:46 -05:00
WolverineFan
e7fee16589 Fix apt_has_updates fact not parsing apt-check output correctly
The /usr/lib/update-notifier/apt-check script returns its output
to STDERR but a recent change to the script redirects STDERR to
/dev/null.  This will cause the array to always be empty.

Combined with that problem, while we were checking for the result
being nil, we never checked for an invalid array.  As a result,
the apt_has_updates was always true and the apt_updates and
apt_security_updates facts were trying to read from an empty array
and failing.
2015-01-16 17:45:55 -05:00
Colleen Murphy
6d60659e70 Merge pull request #409 from cyberious/MOD1661
MODULES-1661 Fix to do delete with short key not long
2015-01-14 08:25:47 -08:00
Travis Fields
18fae0a516 MODULES-1661 Fix to do delete with short key not long 2015-01-13 23:45:03 -08:00
Colleen Murphy
251bd23b5b Merge pull request #408 from cyberious/MODULES-1661
MODULES-1661 Fix issue with apt_key destroy, also added mutliple deletes
2015-01-13 17:41:49 -08:00
Travis Fields
f1ca76dec5 MODULES-1661 Fix issue with apt_key destroy, also added mutliple deletes 2015-01-13 17:40:18 -08:00
Merritt Krakowitzer
38582d02cd Add support for parameter trusted
* Add support for paramater trusted, valid options are 'true' and false.
defaults to false. True sets the value to trusted=yes.

trusted=yes can be set to indicate that packages from this source are
always authenticated even if the Release file is not signed or the
signature can't be checked.

* Update documentation
2015-01-13 17:41:20 +02:00