1 ##2015-04-07 - Supported Release 2.0.0
4 This is a major rewrite of the apt module. Many classes and defines were removed, but all existing functionality should still work. Please carefully review documentation before upgrading.
6 ####Backwards-incompatible changes
8 As this is a major rewrite of the module there are a great number of backwards incompatible changes. Please review this and the updated README carefully before upgrading.
11 - `keyserver_options` parameter renamed to `options`
14 - This no longer works out of the box on Linux Mint. If using this on mint, you must specify the `location`, `release`, `repos`, and `key` parameters. [Example](examples/backports.pp)
17 - This define was removed. Functionality can be matched passing 'build-dep' to `install_options` in the package resource. [Example](examples/builddep.pp)
19 #####`apt::debian::testing`
20 - This class was removed. Manually add an `apt::source` instead. [Example](examples/debian_testing.pp)
22 #####`apt::debian::unstable`
23 - This class was removed. Manually add an `apt::source` instead. [Example](examples/debian_unstable.pp)
26 - This define was removed. Functionallity can be matched by setting `install_options` in the package resource. See [here](examples/force.pp) for how to set the options.
29 - This define was removed. Simply use an `apt::pin` with `priority => 1001` for the same functionality.
32 - `always_apt_update` - This parameter was removed. Use `update => { 'frequency' => 'always' }` instead.
33 - `apt_update_frequency` - This parameter was removed. Use `update => { 'frequency' => <frequency> }` instead.
34 - `disable_keys` - This parameter was removed. See this [example](examples/disable_keys.pp) if you need this functionality.
35 - `proxy_host` - This parameter was removed. Use `proxy => { 'host' => <host> }` instead.
36 - `proxy_port` - This parameter was removed. Use `proxy => { 'port' => <port> }` instead.
37 - `purge_sources_list` - This parameter was removed. Use `purge => { 'sources.list' => <bool> }` instead.
38 - `purge_sources_list_d` - This parameter was removed. Use `purge => { 'sources.list.d' => <bool> }` instead.
39 - `purge_preferences` - This parameter was removed. Use `purge => { 'preferences' => <bool> }` instead.
40 - `purge_preferences_d` - This parameter was removed. Use `purge => { 'preferences.d' => <bool> }` instead.
41 - `update_timeout` - This parameter was removed. Use `update => { 'timeout' => <timeout> }` instead.
42 - `update_tries` - This parameter was removed. Use `update => { 'tries' => <tries> }` instead.
45 - `key` - This parameter was renamed to `id`.
46 - `key_content` - This parameter was renamed to `content`.
47 - `key_source` - This parameter was renamed to `source`.
48 - `key_server` - This parameter was renamed to `server`.
49 - `key_options` - This parameter was renamed to `options`.
52 - This class was removed. See this [example](examples/release.pp) for how to achieve this functionality.
55 - `include_src` - This parameter was removed. Use `include => { 'src' => <bool> }` instead. ***NOTE*** This now defaults to false.
56 - `include_deb` - This parameter was removed. Use `include => { 'deb' => <bool> }` instead.
57 - `required_packages` - This parameter was removed. Use package resources for these packages if needed.
58 - `key` - This can either be a key id or a hash including key options. If using a hash, `key => { 'id' => <id> }` must be specified.
59 - `key_server` - This parameter was removed. Use `key => { 'server' => <server> }` instead.
60 - `key_content` - This parameter was removed. Use `key => { 'content' => <content> }` instead.
61 - `key_source` - This parameter was removed. Use `key => { 'source' => <source> }` instead.
62 - `trusted_source` - This parameter was renamed to `allow_unsigned`.
64 #####`apt::unattended_upgrades`
65 - This class was removed and is being republished under the puppet-community namespace. The git repository is available [here](https://github.com/puppet-community/puppet-unattended_upgrades) and it will be published to the forge [here](https://forge.puppetlabs.com/puppet/unattended_upgrades).
67 ####Changes to default behavior
68 - By default purge unmanaged files in 'sources.list', 'sources.list.d', 'preferences', and 'preferences.d'.
69 - Changed default for `package_manage` in `apt::ppa` to `false`. Set to `true` in a single PPA if you need the package to be managed.
70 - `apt::source` will no longer include the `src` entries by default.
71 - `pin` in `apt::source` now defaults to `undef` instead of `false`
74 - Added the ability to pass hashes of `apt::key`s, `apt::ppa`s, and `apt::setting`s to `apt`.
75 - Added 'https' key to `proxy` hash to allow disabling `https_proxy` for the `apt::ppa` environment.
76 - Added `apt::setting` define to abstract away configuration.
77 - Added the ability to pass hashes to `pin` and `key` in `apt::backports` and `apt::source`.
80 - Fixes for strict variables.
82 ##2015-03-17 - Supported Release 1.8.0
85 This is the last planned feature release of the 1.x series of this module. All new features will be evaluated for puppetlabs-apt 2.x.
87 This release includes many important features, including support for full fingerprints, and fixes issues where `apt_key` was not supporting user/password and `apt_has_updates` was not properly parsing the `apt-check` output.
89 ####Changes to default behavior
90 - The apt module will now throw warnings if you don't use full fingerprints for `apt_key`s
93 - Use gpg to check keys to work around https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1409117 (MODULES-1675)
94 - Add 'oldstable' to the default update origins for wheezy
95 - Add utopic, vivid, and cumulus compatibility
96 - Add support for full fingerprints
97 - New parameter for `apt::source`
99 - New parameters for `apt::ppa`
102 - New parameter for `apt::unattended_upgrades`
104 - Separate `apt::pin` from `apt::backports` to allow pin by release instead of origin
107 - Cleanup lint and future parser issues
108 - Fix to support username and passwords again for `apt_key` (MODULES-1119)
109 - Fix issue where `apt::force` `$install_check` didn't work with non-English locales (MODULES-1231)
110 - Allow 5 digit ports in `apt_key`
111 - Fix for `ensure => absent` in `apt_key` (MODULES-1661)
112 - Fix `apt_has_updates` not parsing `apt-check` output correctly
113 - Fix inconsistent headers across files (MODULES-1200)
114 - Clean up formatting for 50unattended-upgrades.erb
116 ##2014-10-28 - Supported Release 1.7.0
119 This release includes several new features, documentation and test improvements, and a few bug fixes.
122 - Updated unit and acceptance tests
123 - Update module to work with Linux Mint
124 - Documentation updates
125 - Future parser / strict variables support
126 - Improved support for long GPG keys
128 - Added `apt_update_frequency` to apt
129 - Added `cfg_files` and `cfg_missing` parameters to apt::force
130 - Added `randomsleep` to apt::unattended_upgrades
131 - Added `apt_update_last_success` fact
132 - Refactored facts for performance improvements
135 - Update apt::builddep to require Exec['apt_update'] instead of notifying it
136 - Clean up lint errors
138 ##2014-08-20 - Supported Release 1.6.0
142 - Allow URL or domain name for key_server parameter
143 - Allow custom comment for sources list
144 - Enable auto-update for Debian squeeze LTS
145 - Add facts showing available updates
149 - Allow dashes in URL or domain for key_server parameter
151 ##2014-08-13 - Supported Release 1.5.3
154 This is a bugfix releases. It addresses a bad regex, failures with unicode
155 characters, and issues with the $proxy_host handling in apt::ppa.
158 - Synced files from Modulesync
161 - Fix regex to follow APT requirements in apt::pin
162 - Fix for unicode characters
163 - Fix inconsistent $proxy_host handling in apt and apt::ppa
165 - Fix broken acceptance tests
167 ##2014-07-15 - Supported Release 1.5.2
170 This release merely updates metadata.json so the module can be uninstalled and
171 upgraded via the puppet module command.
173 ##2014-07-10 - Supported Release 1.5.1
176 This release has added tests to ensure graceful failure on OSX.
178 ##2014-06-04 - Release 1.5.0
181 This release adds support for Ubuntu 14.04. It also includes many new features
182 and important bugfixes. One huge change is that apt::key was replaced with
183 apt_key, which allows you to use puppet resource apt_key to inventory keys on
186 Special thanks to daenney, our intrepid unofficial apt maintainer!
189 - Add support for Ubuntu Trusty!
190 - Add apt::hold define
191 - Generate valid *.pref files in apt::pin
192 - Made pin_priority configurable for apt::backports
193 - Add apt_key type and provider
194 - Rename "${apt_conf_d}/proxy" to "${apt_conf_d}/01proxy"
195 - apt::key rewritten to use apt_key type
196 - Add support for update_tries to apt::update
200 - Fix unattended upgrades
201 - Removed bogus line when using purge_preferences
202 - Fix apt::force to upgrade allow packages to be upgraded to the pacakge from the specified release
204 ##2014-03-04 - Supported Release 1.4.2
207 This is a supported release. This release tidies up 1.4.1 and re-enables
208 support for Ubuntu 10.04
213 - Fix apt:ppa to include the -y Ubuntu 10.04 requires.
214 - Documentation changes.
225 This is a bugfix release.
228 - Fix apt::force unable to upgrade packages from releases other than its original
229 - Removed a few refeneces to aptitude instead of apt-get for portability
230 - Removed call to getparam() due to stdlib dependency
231 - Correct apt::source template when architecture is provided
232 - Retry package installs if apt is locked
233 - Use root to exec in apt::ppa
234 - Updated tests and converted acceptance tests to beaker
236 ##2013-10-08 - Release 1.4.0
240 Minor bugfix and allow the timeout to be adjusted.
243 - Add an `updates_timeout` to apt::params
246 - Ensure apt::ppa can read a ppa removed by hand.
249 ##2013-10-08 - Release 1.3.0
252 This major feature in this release is the new apt::unattended_upgrades class,
253 allowing you to handle Ubuntu's unattended feature. This allows you to select
254 specific packages to automatically upgrade without any further user
257 In addition we extend our Wheezy support, add proxy support to apt:ppa and do
258 various cleanups and tweaks.
261 - Add apt::unattended_upgrades support for Ubuntu.
262 - Add wheezy backports support.
263 - Use the geoDNS http.debian.net instead of the main debian ftp server.
264 - Add `options` parameter to apt::ppa in order to pass options to apt-add-repository command.
265 - Add proxy support for apt::ppa (uses proxy_host and proxy_port from apt).
268 - Fix regsubst() calls to quote single letters (for future parser).
269 - Fix lint warnings and other misc cleanup.
272 ##2013-07-03 - Release 1.2.0
275 - Add geppetto `.project` natures
276 - Add GH auto-release
277 - Add `apt::key::key_options` parameter
278 - Add complex pin support using distribution properties for `apt::pin` via new properties:
279 - `apt::pin::codename`
280 - `apt::pin::release_version`
281 - `apt::pin::component`
282 - `apt::pin::originator`
284 - Add source architecture support to `apt::source::architecture`
287 - Use apt-get instead of aptitude in apt::force
288 - Update default backports location
289 - Add dependency for required packages before apt-get update
292 ##2013-06-02 - Release 1.1.1
295 This is a bug fix release that resolves a number of issues:
297 * By changing template variable usage, we remove the deprecation warnings
299 * Fixed proxy file removal, when proxy absent
301 Some documentation, style and whitespaces changes were also merged. This
302 release also introduced proper rspec-puppet unit testing on Travis-CI to help
305 Thanks to all the community contributors below that made this patch possible.
309 * fix minor comment type (Chris Rutter)
310 * whitespace fixes (Michael Moll)
311 * Update travis config file (William Van Hevelingen)
312 * Build all branches on travis (William Van Hevelingen)
313 * Standardize travis.yml on pattern introduced in stdlib (William Van Hevelingen)
314 * Updated content to conform to README best practices template (Lauren Rother)
315 * Fix apt::release example in readme (Brian Galey)
316 * add @ to variables in template (Peter Hoeg)
317 * Remove deprecation warnings for pin.pref.erb as well (Ken Barber)
318 * Update travis.yml to latest versions of puppet (Ken Barber)
319 * Fix proxy file removal (Scott Barber)
320 * Add spec test for removing proxy configuration (Dean Reilly)
321 * Fix apt::key listing longer than 8 chars (Benjamin Knofe)
329 This release includes Ubuntu 12.10 (Quantal) support for PPAs.
333 ##2012-05-25 - Puppet Labs <info@puppetlabs.com> - Release 0.0.4
336 * Fix ppa list filename when there is a period in the PPA name
337 * Add .pref extension to apt preferences files
338 * Allow preferences to be purged
342 ##2012-05-04 - Puppet Labs <info@puppetlabs.com> - Release 0.0.3
345 * only invoke apt-get update once
346 * only install python-software-properties if a ppa is added
347 * support 'ensure => absent' for all defined types
350 * fixed Modulefile for module tool dependency resolution
351 * configure proxy before doing apt-get update
352 * use apt-get update instead of aptitude for apt::ppa
353 * add support to pin release
356 ##2012-03-26 - Puppet Labs <info@puppetlabs.com> - Release 0.0.2
359 * 41cedbb (#13261) Add real examples to smoke tests.
360 * d159a78 (#13261) Add key.pp smoke test
361 * 7116c7a (#13261) Replace foo source with puppetlabs source
362 * 1ead0bf Ignore pkg directory.
363 * 9c13872 (#13289) Fix some more style violations
364 * 0ea4ffa (#13289) Change test scaffolding to use a module & manifest dir fixture path
365 * a758247 (#13289) Clean up style violations and fix corresponding tests
366 * 99c3fd3 (#13289) Add puppet lint tests to Rakefile
367 * 5148cbf (#13125) Apt keys should be case insensitive
368 * b9607a4 Convert apt::key to use anchors
371 ##2012-03-07 - Puppet Labs <info@puppetlabs.com> - Release 0.0.1
374 * d4fec56 Modify apt::source release parameter test
375 * 1132a07 (#12917) Add contributors to README
376 * 8cdaf85 (#12823) Add apt::key defined type and modify apt::source to use it
377 * 7c0d10b (#12809) $release should use $lsbdistcodename and fall back to manual input
378 * be2cc3e (#12522) Adjust spec test for splitting purge
379 * 7dc60ae (#12522) Split purge option to spare sources.list
380 * 9059c4e Fix source specs to test all key permutations
381 * 8acb202 Add test for python-software-properties package
382 * a4af11f Check if python-software-properties is defined before attempting to define it.
383 * 1dcbf3d Add tests for required_packages change
384 * f3735d2 Allow duplicate $required_packages
385 * 74c8371 (#12430) Add tests for changes to apt module
386 * 97ebb2d Test two sources with the same key
387 * 1160bcd (#12526) Add ability to reverse apt { disable_keys => true }
388 * 2842d73 Add Modulefile to puppet-apt
389 * c657742 Allow the use of the same key in multiple sources
390 * 8c27963 (#12522) Adding purge option to apt class
391 * 997c9fd (#12529) Add unit test for apt proxy settings
392 * 50f3cca (#12529) Add parameter to support setting a proxy for apt
393 * d522877 (#12094) Replace chained .with_* with a hash
394 * 8cf1bd0 (#12094) Remove deprecated spec.opts file
395 * 2d688f4 (#12094) Add rspec-puppet tests for apt
396 * 0fb5f78 (#12094) Replace name with path in file resources
397 * f759bc0 (#11953) Apt::force passes $version to aptitude
398 * f71db53 (#11413) Add spec test for apt::force to verify changes to unless
399 * 2f5d317 (#11413) Update dpkg query used by apt::force
400 * cf6caa1 (#10451) Add test coverage to apt::ppa
401 * 0dd697d include_src parameter in example; Whitespace cleanup
402 * b662eb8 fix typos in "repositories"
403 * 1be7457 Fix (#10451) - apt::ppa fails to "apt-get update" when new PPA source is added
404 * 864302a Set the pin priority before adding the source (Fix #10449)
405 * 1de4e0a Refactored as per mlitteken
406 * 1af9a13 Added some crazy bash madness to check if the ppa is installed already. Otherwise the manifest tries to add it on every run!
407 * 52ca73e (#8720) Replace Apt::Ppa with Apt::Builddep
408 * 5c05fa0 added builddep command.
409 * a11af50 added the ability to specify the content of a key
410 * c42db0f Fixes ppa test.
411 * 77d2b0d reformatted whitespace to match recommended style of 2 space indentation.
412 * 27ebdfc ignore swap files.
413 * 377d58a added smoke tests for module.
414 * 18f614b reformatted apt::ppa according to recommended style.
415 * d8a1e4e Created a params class to hold global data.
416 * 636ae85 Added two params for apt class
417 * 148fc73 Update LICENSE.
418 * ed2d19e Support ability to add more than one PPA
419 * 420d537 Add call to apt-update after add-apt-repository in apt::ppa
420 * 945be77 Add package definition for python-software-properties
421 * 71fc425 Abs paths for all commands
422 * 9d51cd1 Adding LICENSE
423 * 71796e3 Heading fix in README
424 * 87777d8 Typo in README
425 * f848bac First commit