Commit graph

96 commits

Author SHA1 Message Date
Brett Delle Grazie
9ad4fd682d MODULES-2269: Expose notify_update setting
* Expose the underlying notify_update setting of the apt::settings resource
This is because not all configuration file changes should trigger an apt::update notification
* apt::pin also shouldn't result in an apt-update call
Adding a pin configuration should apply to the next apt-get update call it shouldn't trigger one itself.
* Added documentation
* Add tests for apt::conf notify_update
2015-08-16 19:16:36 +01:00
Callahan, Michael Joseph
afa4d45ee9 Added an ensure parameter for user control of proxy presence. Defaults to undef to resist breaking any current setup.
added spec entry

Added validation

fixed ensure hash
2015-08-05 16:03:28 -04:00
David Schmitt
f05e43c285 Merge pull request #553 from bmjen/2.1.x_mergeback
2.1.x mergeback
2015-07-28 16:40:30 +01:00
jbondpdx
b085c3787c light edits to apt README 2015-07-27 10:29:01 -07:00
Daniele Sluijters
2cf089576d Merge pull request #545 from raoulbhatia/master
Use Debian's new official mirrors redirector
2015-07-23 14:10:47 +02:00
TP Honey
fa86d8ed50 Merge pull request #547 from mhaskel/MODULES-2190
Fix anchor issues
2015-07-21 18:59:19 +01:00
Morgan Haskel
c01e5e29ea Add limitations note 2015-07-21 10:46:34 -07:00
Leo Arnold
97a14dd6a4 Corrected documentation warning about purge parameters to fit v2.1.0 syntax 2015-07-18 21:58:23 +02:00
Raoul Bhatia
b8462bdc43 Use Debian's new official mirrors redirector
See https://www.debian.org/News/weekly/2015/05/#httpredir
2015-07-05 09:17:12 +02:00
Morgan Haskel
f1a5499541 Apt::key doesn't have priority. 2015-06-16 15:05:07 -07:00
jbondpdx
2bba5d7167 DOCS: Edits to README.md
Just mostly commas and wording and other edit-y stuff.
2015-06-16 15:05:07 -07:00
Morgan Haskel
396f308e6a Compatibility between 1.8.x and 2.x for apt::source 2015-06-08 11:19:45 -07:00
Morgan Haskel
d50fef82e8 Make apt::key compatible with 1.8.x 2015-06-04 09:41:27 -07:00
Morgan Haskel
fe9741fe1d Merge pull request #505 from puppetlabs/install-lsb-release
Clear up lsb-release error
2015-04-29 15:38:38 -07:00
Dustin Lactin
bb692503bb Removed eol from README.md 2015-04-29 15:51:59 -06:00
Daniele Sluijters
1318344500 Give clearer instructions around lsb-release 2015-04-29 21:04:27 +02:00
Dustin Lactin
6e51be76ea Added new apt_reboot_required fact, updated readme, and added unit tests 2015-04-29 11:36:51 -06:00
Pete Soloway
616516b9d7 Correct some README punctuation 2015-04-27 17:08:42 -07:00
Pete Soloway
ccd5cea444 Update README per DOC-1503
1. Make sure that for each parameter, where applicable, there is a default value.
2. Make sure that for each parameter that's applicable, there is a note if the parameter is optional.
3. Make sure the links in the README work and are accurate.
4. Update the link in the Contributing section to point here: https://docs.puppetlabs.com/forge/contributing.html
5. General copyediting.

* Add a ToC
* Reorganize Usage & Reference sections
* Standardize capitalization of "Apt" (as opposed to "apt", the module)
* Standardize Development section

Apply edits from @jbondpdx

* Re-emphasize the warning about short key names
* Restore the “What apt affects” section
* Re-correct capitalization of “Apt” (where it had reverted to “APT”)
* Clarify OS compatibility in Limitations and elsewhere
* Various edits for clarity
2015-04-27 10:27:58 -07:00
Morgan Haskel
cdbb2e82c0 Fogot to remove the purge warning 2015-04-14 11:31:16 -07:00
Morgan Haskel
3a20254108 Don't purge by default. That seems unnecessarily destructive. 2015-04-14 11:03:17 -07:00
Morgan Haskel
044fb5faf5 Add testing, docs, and examples for backports 2015-04-12 11:25:47 -07:00
Morgan Haskel
dc746734f1 Merge remote-tracking branch 'upstream/master' into merge_master_to_next 2015-03-25 18:32:09 -04:00
Leo Arnold
a96df4b25b Updated key fingerprints in README to match v1.8.0 requirements 2015-03-25 20:09:22 +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
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
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
399d3cae5a Update docs and test for $legacy_origin 2015-03-13 15:31:38 -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
0c35704245 Make installation of software-properties optional
This is cherry-picked from the PPA cleanup happening for the 2.0.0 release.

Conflicts:
	manifests/params.pp
	manifests/ppa.pp
2015-03-13 13:38:38 -07:00
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
Frank Wall
08192b3927 fix hiera example in documentation 2015-02-24 14:38:43 +01:00
Spencer Krum
794740813d Remove travis badge 2015-02-19 13:55:24 -08: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
Patric Hafner
9545a85b06 Documentation: Fix typo and syntax for example of apt::unattended_upgrades 2015-01-29 14:48:47 +01: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
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
be3abffb0e README: the facts depend on update-notifier 2014-10-14 13:42:59 +02:00
Bryan M. Schlief
a6b560c9b4 Add support for RandomSleep to 10periodic 2014-10-13 14:19:11 -07:00
jbondpdx
b2c40388e5 DOC-249 Revised and updated apt readme
Revised and updated apt readme. Post-merge-conflict edition.
2014-10-08 11:09:54 -07:00
Wolf Noble
7a192d7bea - add bits for updating apt
- fix spec tests to include osfamily fact
- add spec tests to verify current default behavior unimpacted.
- manage the update-stamp file in puppet via content rather than a served file.
- update custom fact to return -1 if the file doesn't exist
- add spec test for custom fact
- refactor to use a variable vs a collector/override
- document parameters a bit more verbosely
- remove empty unconstrained fact
- Add osfamily fact to backports tests to facilitate functional tests on non-debian hosts
2014-09-24 16:29:27 -07:00
Martin Seener
93567aef4a apt::force: Added 2 parameters for automatic configuration file handling; fixes #modules-1306
when updating or installing newer packages with apt::force and you have changed previous
configuration files aptitude or apt-get will prompt what to do. You can suppress that
by pre-define the action with cfg_files parameter (new, old or unchanged and its backward
compatible if not defined). With a second optional parameter cfg_missing you can force
your provider to install missing configuration files as well.

Signed-off-by: Martin Seener <martin@seener.de>

apt::force: Changed selectors used in force.pp to case statements; refs #module-1306

Signed-off-by: Martin Seener <martin@seener.de>

apt::force: rspec: fixed the failing tests and added validate_re for cfg_files and validate_bool for cfg_missing. Also removed default values for both case statements and only allow pre-defined values or true/false. Furthermore enhanced the README refs #module-1306

Was able to fix the failing rspec tests for the patch.
Thanks to Morgan Haskel.

Signed-off-by: Martin Seener <martin@seener.de>

Despite the puppetlabs-stdlib documentation says validation_re supports 3 arguments the tests failed telling that only 2 are supported. Fixed this by removing the 3 optional argument; refs #modules-1306

Signed-off-by: Martin Seener <martin.seener@barzahlen.de>

apt::force: updated readme refs #module-1306

Signed-off-by: Martin Seener <martin@seener.de>
2014-09-22 19:53:45 +02:00
jbondpdx
67f6355c2d MODULES-1259: added info on apt::update + edits to readme.md
Added apt::update information to the Readme file. Also general copy editing throughout for clarity and consistent style.
2014-09-16 16:51:24 -07:00
Matthaus Owens
db556a0a5a (DOC-1230) Update all short key examples to use the long key id 2014-09-10 13:21:07 -07:00
wilman0
538a9f9aab Update hold.pp
fix for default debian installations

all files in /etc/apt/preferences without _ will be silently ignore according to debian manpage. Addionally its not a good idea to write versionnumber in filename cause there is no way to delete this files if you increase versionumber

Update source_spec.rb

add a way to include debsrc only (useful for debian/ubuntu build server ... jenkins ect)

Update source_spec.rb

var rename

Update source.list.erb

add include_deb "switch"

Update source.pp

"include_deb" defaultvalue = true

Update hold_spec.rb

change the name of the preferences file (hold)

Update source_spec.rb

Update README.md

Doku: 'include_deb' included next to 'include_src' in examples

Update README.md

typo
2014-07-31 18:40:46 +02:00