Skip to content

Commit 1ed3a08

Browse files
authored
Merge pull request #1155 from puppetlabs/release-prep
2 parents a843b84 + ffc8ab7 commit 1ed3a08

File tree

3 files changed

+32
-12
lines changed

3 files changed

+32
-12
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
77

8+
## [v9.3.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v9.3.0) - 2024-02-15
9+
10+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v9.2.0...v9.3.0)
11+
12+
### Added
13+
14+
- Backports: add keyring support [#1162](https://github.com/puppetlabs/puppetlabs-apt/pull/1162) ([kenyon](https://github.com/kenyon))
15+
- Support "hourly" and Integer as value for update frequency (fixes #1157) [#1159](https://github.com/puppetlabs/puppetlabs-apt/pull/1159) ([webcompas](https://github.com/webcompas))
16+
17+
### Fixed
18+
19+
- replace deprecated merge() with native puppet code [#1154](https://github.com/puppetlabs/puppetlabs-apt/pull/1154) ([bastelfreak](https://github.com/bastelfreak))
20+
21+
### Other
22+
23+
- release_prep: Use puppetlabs_spec_helper 7.x [#1164](https://github.com/puppetlabs/puppetlabs-apt/pull/1164) ([bastelfreak](https://github.com/bastelfreak))
24+
825
## [v9.2.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v9.2.0) - 2023-12-04
926

1027
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v9.1.0...v9.2.0)

REFERENCE.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ Valid options:
171171
'hourly' (if the value of `apt_update_last_success` is less than current epoch time minus 3600);
172172
'daily' (if the value of `apt_update_last_success` is less than current epoch time minus 86400);
173173
'weekly' (if the value of `apt_update_last_success` is less than current epoch time minus 604800);
174-
'reluctantly' (only if the exec resource `apt_update` is notified).
175174
Integer (if the value of `apt_update_last_success` is less than current epoch time minus provided Integer value);
175+
'reluctantly' (only if the exec resource `apt_update` is notified).
176176
Default: 'reluctantly'.
177177
* **:loglevel** `Integer`: Specifies the log level of logs outputted to the console. Default: undef.
178178
* **:timeout** `Integer`: Specifies how long to wait for the update to complete before canceling it. Valid options: an integer, in seconds. Default: undef.
@@ -406,18 +406,10 @@ Manages backports.
406406

407407
#### Examples
408408

409-
##### Set up a backport source for Linux Mint qiana
409+
##### Set up a backport source for Ubuntu
410410

411411
```puppet
412-
class { 'apt::backports':
413-
location => 'http://us.archive.ubuntu.com/ubuntu',
414-
release => 'trusty-backports',
415-
repos => 'main universe multiverse restricted',
416-
key => {
417-
id => '630239CC130E1A7FD81A27B140976EAF437D05B5',
418-
server => 'keyserver.ubuntu.com',
419-
},
420-
}
412+
include apt::backports
421413
```
422414

423415
#### Parameters
@@ -428,6 +420,7 @@ The following parameters are available in the `apt::backports` class:
428420
* [`release`](#-apt--backports--release)
429421
* [`repos`](#-apt--backports--repos)
430422
* [`key`](#-apt--backports--key)
423+
* [`keyring`](#-apt--backports--keyring)
431424
* [`pin`](#-apt--backports--pin)
432425
* [`include`](#-apt--backports--include)
433426

@@ -476,6 +469,16 @@ hash of parameter => value pairs to be passed to apt::key's id, server, content,
476469

477470
Default value: `undef`
478471

472+
##### <a name="-apt--backports--keyring"></a>`keyring`
473+
474+
Data type: `Stdlib::AbsolutePath`
475+
476+
Absolute path to a file containing the PGP keyring used to sign this
477+
repository. Value is passed to the apt::source and used to set signed-by on
478+
the source entry.
479+
480+
Default value: `"/usr/share/keyrings/${facts['os']['name'].downcase}-archive-keyring.gpg"`
481+
479482
##### <a name="-apt--backports--pin"></a>`pin`
480483

481484
Data type: `Variant[Integer, String, Hash]`

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-apt",
3-
"version": "9.2.0",
3+
"version": "9.3.0",
44
"author": "puppetlabs",
55
"summary": "Provides an interface for managing Apt source, key, and definitions with Puppet",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)