Skip to content

Commit 3af2ab7

Browse files
committed
Merge remote-tracking branch 'u/main' into auth
2 parents 534c335 + bd979d4 commit 3af2ab7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+752
-444
lines changed

CHANGELOG.md

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,45 @@ 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+
## [v10.0.1](https://github.com/puppetlabs/puppetlabs-apt/tree/v10.0.1) - 2025-01-24
9+
10+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v10.0.0...v10.0.1)
11+
12+
### Fixed
13+
14+
- Handle repos passed as an array for list format [#1215](https://github.com/puppetlabs/puppetlabs-apt/pull/1215) ([ekohl](https://github.com/ekohl))
15+
16+
## [v10.0.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v10.0.0) - 2024-12-18
17+
18+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v9.4.0...v10.0.0)
19+
20+
### Changed
21+
22+
- Debian: add non-free-firmware repo component [#1180](https://github.com/puppetlabs/puppetlabs-apt/pull/1180) ([kenyon](https://github.com/kenyon))
23+
- Drop support for EoL Debian 10 "buster" [#1177](https://github.com/puppetlabs/puppetlabs-apt/pull/1177) ([kenyon](https://github.com/kenyon))
24+
25+
### Added
26+
27+
- Add Debian 12 "bookworm" support [#1178](https://github.com/puppetlabs/puppetlabs-apt/pull/1178) ([kenyon](https://github.com/kenyon))
28+
- Support PPA in deb822 format [#1169](https://github.com/puppetlabs/puppetlabs-apt/pull/1169) ([fredericgiquel](https://github.com/fredericgiquel))
29+
- Add support for deb822 APT sources [#1167](https://github.com/puppetlabs/puppetlabs-apt/pull/1167) ([jps-help](https://github.com/jps-help))
30+
31+
### Fixed
32+
33+
- apt::setting: Dont expect source/content when removing settings [#1208](https://github.com/puppetlabs/puppetlabs-apt/pull/1208) ([bastelfreak](https://github.com/bastelfreak))
34+
- apt::keyring: Require "source" or "content" only if ensure=present [#1198](https://github.com/puppetlabs/puppetlabs-apt/pull/1198) ([webcompas](https://github.com/webcompas))
35+
36+
### Other
37+
38+
- Eliminate `params.pp` and `create_resources()` [#1172](https://github.com/puppetlabs/puppetlabs-apt/pull/1172) ([kenyon](https://github.com/kenyon))
39+
840
## [v9.4.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v9.4.0) - 2024-02-15
941

10-
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v9.2.0...v9.4.0)
42+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v9.3.0...v9.4.0)
43+
44+
## [v9.3.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v9.3.0) - 2024-02-15
45+
46+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v9.2.0...v9.3.0)
1147

1248
### Added
1349

@@ -42,6 +78,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
4278
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v9.0.2...v9.1.0)
4379

4480
### Changed
81+
4582
- (CONT-773) Add Support for Puppet 8 / Remove Support for Puppet 6 [#1101](https://github.com/puppetlabs/puppetlabs-apt/pull/1101) ([david22swan](https://github.com/david22swan))
4683

4784
### Added
@@ -85,6 +122,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
85122
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v8.5.0...v9.0.0)
86123

87124
### Changed
125+
88126
- Harden PPA defined type [#1052](https://github.com/puppetlabs/puppetlabs-apt/pull/1052) ([chelnak](https://github.com/chelnak))
89127

90128
### Added
@@ -117,6 +155,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
117155
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v8.3.0...v8.4.0)
118156

119157
### Changed
158+
120159
- (GH-iac-334) Remove code specific to unsupported OSs [#1024](https://github.com/puppetlabs/puppetlabs-apt/pull/1024) ([david22swan](https://github.com/david22swan))
121160

122161
### Added
@@ -194,6 +233,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
194233
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v7.7.1...v8.0.0)
195234

196235
### Changed
236+
197237
- pdksync - Remove Puppet 5 from testing and bump minimal version to 6.0.0 [#969](https://github.com/puppetlabs/puppetlabs-apt/pull/969) ([carabasdaniel](https://github.com/carabasdaniel))
198238

199239
## [v7.7.1](https://github.com/puppetlabs/puppetlabs-apt/tree/v7.7.1) - 2021-02-16
@@ -282,8 +322,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
282322

283323
### Fixed
284324

285-
- MODULES-10063, extend apt::key to support deeplinks, this time with f… [#894](https://github.com/puppetlabs/puppetlabs-apt/pull/894) ([atarax](https://github.com/atarax))
286-
- MODULES-10063, extend apt::key to support deeplinks [#892](https://github.com/puppetlabs/puppetlabs-apt/pull/892) ([atarax](https://github.com/atarax))
325+
- MODULES-10063, extend apt::key to support deeplinks, this time with f… [#894](https://github.com/puppetlabs/puppetlabs-apt/pull/894) ([kaessert](https://github.com/kaessert))
326+
- MODULES-10063, extend apt::key to support deeplinks [#892](https://github.com/puppetlabs/puppetlabs-apt/pull/892) ([kaessert](https://github.com/kaessert))
287327

288328
## [v7.2.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v7.2.0) - 2019-10-29
289329

@@ -317,6 +357,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
317357
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/6.3.0...7.0.0)
318358

319359
### Changed
360+
320361
- pdksync - (MODULES-8444) - Raise lower Puppet bound [#853](https://github.com/puppetlabs/puppetlabs-apt/pull/853) ([david22swan](https://github.com/david22swan))
321362

322363
### Added
@@ -389,6 +430,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
389430
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/5.0.1...6.0.0)
390431

391432
### Changed
433+
392434
- (MODULES-7668) Remove support for Puppet 4.7 [#780](https://github.com/puppetlabs/puppetlabs-apt/pull/780) ([jarretlavallee](https://github.com/jarretlavallee))
393435

394436
### Added
@@ -409,6 +451,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
409451
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/4.5.1...5.0.0)
410452

411453
### Changed
454+
412455
- [FM-6956] Removal of unsupported Debian 7 from apt [#760](https://github.com/puppetlabs/puppetlabs-apt/pull/760) ([david22swan](https://github.com/david22swan))
413456

414457
### Added
@@ -521,6 +564,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
521564
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/2.3.0...2.4.0)
522565

523566
### Changed
567+
524568
- Use stdlib deprecation [#641](https://github.com/puppetlabs/puppetlabs-apt/pull/641) ([DavidS](https://github.com/DavidS))
525569

526570
### Added
@@ -618,6 +662,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
618662
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/2.0.1...2.1.0)
619663

620664
### Changed
665+
621666
- API compatibility between 1.8.x and 2.x for apt::source [#529](https://github.com/puppetlabs/puppetlabs-apt/pull/529) ([underscorgan](https://github.com/underscorgan))
622667

623668
### Added
@@ -666,6 +711,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
666711
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/1.7.0...1.8.0)
667712

668713
### Changed
714+
669715
- Various major behavioural changes [#447](https://github.com/puppetlabs/puppetlabs-apt/pull/447) ([daenney](https://github.com/daenney))
670716
- V2.0.0 Prep work: Removing old code / Adding placeholders [#424](https://github.com/puppetlabs/puppetlabs-apt/pull/424) ([underscorgan](https://github.com/underscorgan))
671717

@@ -822,6 +868,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
822868
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/1.4.0...1.4.1)
823869

824870
### Changed
871+
825872
- Handling of release parameter and apt provider in force manifest [#140](https://github.com/puppetlabs/puppetlabs-apt/pull/140) ([hunner](https://github.com/hunner))
826873

827874
### Added
@@ -880,6 +927,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
880927
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/1.1.0...1.1.1)
881928

882929
### Changed
930+
883931
- Restrict the versions and add 3.1 [#112](https://github.com/puppetlabs/puppetlabs-apt/pull/112) ([richardc](https://github.com/richardc))
884932

885933
### Added
@@ -909,6 +957,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
909957
[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/0.0.4...1.0.0)
910958

911959
### Changed
960+
912961
- Without puppetlabs/stdlib, you will get "err: Could not retrieve catalog... [#75](https://github.com/puppetlabs/puppetlabs-apt/pull/75) ([ytjohn](https://github.com/ytjohn))
913962

914963
### Added

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ group :development do
3434
gem "rubocop-performance", '= 1.16.0', require: false
3535
gem "rubocop-rspec", '= 2.19.0', require: false
3636
gem "rb-readline", '= 0.5.5', require: false, platforms: [:mswin, :mingw, :x64_mingw]
37-
gem "rexml", '>= 3.0.0', '< 3.2.7', require: false
37+
gem "rexml", '>= 3.3.9', require: false
3838
end
3939
group :development, :release_prep do
4040
gem "puppet-strings", '~> 4.0', require: false

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ apt::source { 'debian_unstable':
181181
comment => 'This is the iWeb Debian unstable mirror',
182182
location => 'http://debian.mirror.iweb.ca/debian/',
183183
release => 'unstable',
184-
repos => 'main contrib non-free',
184+
repos => 'main contrib non-free non-free-firmware',
185185
pin => '-10',
186186
key => {
187187
'id' => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553',
@@ -225,6 +225,27 @@ apt::source { 'puppetlabs':
225225

226226
<a id="configure-apt-from-hiera"></a>
227227

228+
### Generating a DEB822 .sources file
229+
230+
You can also generate a DEB822 format .sources file. This example covers most of the available options.
231+
232+
Use the `source_format` parameter to choose between 'list' and 'sources' (DEB822) formats.
233+
```puppet
234+
apt::source { 'debian':
235+
source_format => 'sources'
236+
comment => 'Official Debian Repository',
237+
enabled => true,
238+
types => ['deb', 'deb-src'],
239+
location => ['http://fr.debian.org/debian', 'http://de.debian.org/debian']
240+
release => ['stable', 'stable-updates', 'stable-backports'],
241+
repos => ['main', 'contrib', 'non-free'],
242+
architecture => ['amd64', 'i386'],
243+
allow_unsigned => true,
244+
keyring => '/etc/apt/keyrings/debian.gpg'
245+
notify_update => false
246+
}
247+
```
248+
228249
### Configure Apt from Hiera
229250

230251
Instead of specifying your sources directly as resources, you can instead just include the `apt` class, which will pick up the values automatically from hiera.
@@ -235,7 +256,7 @@ apt::sources:
235256
comment: 'This is the iWeb Debian unstable mirror'
236257
location: 'http://debian.mirror.iweb.ca/debian/'
237258
release: 'unstable'
238-
repos: 'main contrib non-free'
259+
repos: 'main contrib non-free non-free-firmware'
239260
pin: '-10'
240261
key:
241262
id: 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553'

0 commit comments

Comments
 (0)