diff --git a/CHANGELOG.md b/CHANGELOG.md index 0912811e82..b28264e1b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. 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). +## [v11.1.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v11.1.0) - 2025-09-22 + +[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v11.0.0...v11.1.0) + +### Added + +- add auth.conf.d resources [#1087](https://github.com/puppetlabs/puppetlabs-apt/pull/1087) ([aba-rechsteiner](https://github.com/aba-rechsteiner)) + ## [v11.0.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v11.0.0) - 2025-09-05 [Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v10.0.1...v11.0.0) diff --git a/REFERENCE.md b/REFERENCE.md index 08dd08a356..d7173cf7e4 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -17,6 +17,7 @@ ### Defined types +* [`apt::auth`](#apt--auth) * [`apt::conf`](#apt--conf): Specifies a custom Apt configuration file. * [`apt::key`](#apt--key): Manages the GPG keys that Apt uses to authenticate packages. * [`apt::keyring`](#apt--keyring): Manage GPG keyrings for apt repositories @@ -72,6 +73,7 @@ The following parameters are available in the `apt` class: * [`proxy`](#-apt--proxy) * [`proxy_defaults`](#-apt--proxy_defaults) * [`sources`](#-apt--sources) +* [`auths`](#-apt--auths) * [`keys`](#-apt--keys) * [`keyrings`](#-apt--keyrings) * [`ppas`](#-apt--ppas) @@ -90,6 +92,7 @@ The following parameters are available in the `apt` class: * [`sources_list_force`](#-apt--sources_list_force) * [`include_defaults`](#-apt--include_defaults) * [`apt_conf_d`](#-apt--apt_conf_d) +* [`auth_conf_d`](#-apt--auth_conf_d) * [`source_key_defaults`](#-apt--source_key_defaults) ##### `provider` @@ -226,6 +229,7 @@ Default value: 'preferences' => false, 'preferences.d' => false, 'apt.conf.d' => false, + 'auth.conf.d' => false, } ``` @@ -264,6 +268,14 @@ Hash of `apt::source` resources. Default value: `{}` +##### `auths` + +Data type: `Hash` + +Creates new `apt::auth` resources. Valid options: a hash to be passed to the create_resources function linked above. + +Default value: `{}` + ##### `keys` Data type: `Hash` @@ -440,6 +452,14 @@ The path to the file `apt.conf.d` Default value: `"${root}/apt.conf.d"` +##### `auth_conf_d` + +Data type: `Stdlib::Absolutepath` + +The path to the file `auth_conf.d` + +Default value: `"${root}/auth.conf.d"` + ##### `source_key_defaults` Data type: `Hash` @@ -555,6 +575,51 @@ Default value: `{}` ## Defined types +### `apt::auth` + +The apt::auth class. + +#### Parameters + +The following parameters are available in the `apt::auth` defined type: + +* [`ensure`](#-apt--auth--ensure) +* [`machine`](#-apt--auth--machine) +* [`login`](#-apt--auth--login) +* [`password`](#-apt--auth--password) + +##### `ensure` + +Data type: `String` + + + +Default value: `'present'` + +##### `machine` + +Data type: `String` + + + +Default value: `$name` + +##### `login` + +Data type: `String` + + + +Default value: `undef` + +##### `password` + +Data type: `String` + + + +Default value: `undef` + ### `apt::conf` Specifies a custom Apt configuration file. diff --git a/metadata.json b/metadata.json index fd75810d46..d0a8b1aba2 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-apt", - "version": "11.0.0", + "version": "11.1.0", "author": "puppetlabs", "summary": "Provides an interface for managing Apt source, key, and definitions with Puppet", "license": "Apache-2.0",