Commit graph

715 commits

Author SHA1 Message Date
tphoney
f588f2651a initial commit for gpg key checking
better attempt at gpg version checking

adding in key length warning

removing version check, adding key check

adding tests

clean up the code

small changes

use commands

documentation updates
2015-03-12 18:25:26 +00:00
TP Honey
b473af1ec5 Merge pull request #454 from LeslieCarr/MODULES-1827-add-cumulus-linux
MODULES-1827 adding Cumulus Linux detection
2015-03-06 12:13:49 +00:00
Leslie Carr
4802a6fc77 MODULES-1827 adding Cumulus Linux detection
the apt module did not correctly detect Cumulus Linux with lsbdistid.
This change adds several lines in params.pp to detect Cumulus Linux and
set $distid and $distcodename
2015-03-05 16:56:03 -08:00
Daniele Sluijters
0e3220711b Merge pull request #437 from fraenki/fix_example
fix hiera example in documentation
2015-02-24 14:48:20 +01:00
Frank Wall
08192b3927 fix hiera example in documentation 2015-02-24 14:38:43 +01:00
Morgan Haskel
d50dd2ed3a Merge pull request #425 from nibalizer/master
Remove travis badge
2015-02-19 13:57:41 -08:00
Spencer Krum
794740813d Remove travis badge 2015-02-19 13:55:24 -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
Daniele Sluijters
1a7d0790d5 Merge pull request #404 from WolverineFan/support_40char_fingerprints
Allow full length GPG key fingerprints.
2015-01-12 14:32:52 -05:00
rfkrocktk
445ad0b6fe Allow full length GPG key fingerprints.
Also add support for ECC and ECDSA key_types
2015-01-10 00:45:57 -05:00
Hunter Haugen
073096e697 Merge pull request #405 from petems/update_init_docs
Format documentation a little
2015-01-09 13:32:25 -08:00
Peter Souter
b3c61ce0bc Format documentation a little
Makes it a little easier to read and parse with scripts
2015-01-09 13:17:51 -08:00
Daniele Sluijters
65a5a25110 Merge pull request #400 from voidus/master
Allow ports that consist of 5 decimals
2015-01-08 09:14:55 +01:00
Simon Kohlmeyer
b0e0024730
Allow ports that consist of 5 decimals 2015-01-08 05:26:53 +01:00
Morgan Haskel
2873c1e2e7 Merge pull request #401 from cmurphy/master
Add IntelliJ files to the ignore list
2014-12-29 11:23:47 -08:00
Colleen Murphy
8729af2314 Add IntelliJ files to the ignore list 2014-12-29 10:40:53 -08:00
Daniele Sluijters
7b21565c0f Merge pull request #394 from juniorsysadmin/apt-force-locale-fixes
(MODULES-1231) Fix apt::force locale issues
2014-12-19 20:48:40 +01:00
juniorsysadmin
b737557e31 (MODULES-1231) Fix apt::force locale issues
The current $install_check variable greps for 'Installed' or
'Candidate', which means that it will give the wrong result
when a non-English locale is used. This patch ensures that the
check will work properly for non-English locales by setting the
environment parameters for the exec to LC_ALL=C LANG=C
2014-12-15 23:31:09 +11:00
Hunter Haugen
612efe54d7 Merge pull request #397 from mhaskel/puppet_not_shell
Use puppet() instead of shell() to install module dependencies
2014-12-12 13:28:06 -08:00
Morgan Haskel
342b90f4cc Use puppet() instead of shell() to install module dependencies 2014-12-12 12:53:18 -08:00
Mahyuddin Susanto
29dbe051db Add Ubuntu vivid (15.04) release
Signed-off-by: Mahyuddin Susanto <udienz@gmail.com>
2014-12-11 11:22:48 +07:00
Morgan Haskel
39ebab80b2 Merge pull request #391 from cmurphy/master
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
2014-12-09 08:20:50 -08:00
Colleen Murphy
18eac98d88 Add json gem
The puppet_facts gem implicitly depends on the json gem.
On Ruby 1.8.7, json is not built in. On Puppet 2.7, it is
not explicitly pulled in by the hiera gem. So we add it
here explicitly.
2014-12-08 22:52:06 -08:00
Colleen Murphy
abb830885b Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md 2014-12-08 10:23:17 -08:00
Morgan Haskel
d4931055d9 Merge pull request #390 from cmurphy/puppet_27
Define travis matrix in .sync.yml
2014-12-08 10:20:05 -08:00