Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
65 changes: 65 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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)

##### <a name="-apt--provider"></a>`provider`
Expand Down Expand Up @@ -226,6 +229,7 @@ Default value:
'preferences' => false,
'preferences.d' => false,
'apt.conf.d' => false,
'auth.conf.d' => false,
}
```

Expand Down Expand Up @@ -264,6 +268,14 @@ Hash of `apt::source` resources.

Default value: `{}`

##### <a name="-apt--auths"></a>`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: `{}`

##### <a name="-apt--keys"></a>`keys`

Data type: `Hash`
Expand Down Expand Up @@ -440,6 +452,14 @@ The path to the file `apt.conf.d`

Default value: `"${root}/apt.conf.d"`

##### <a name="-apt--auth_conf_d"></a>`auth_conf_d`

Data type: `Stdlib::Absolutepath`

The path to the file `auth_conf.d`

Default value: `"${root}/auth.conf.d"`

##### <a name="-apt--source_key_defaults"></a>`source_key_defaults`

Data type: `Hash`
Expand Down Expand Up @@ -555,6 +575,51 @@ Default value: `{}`

## Defined types

### <a name="apt--auth"></a>`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)

##### <a name="-apt--auth--ensure"></a>`ensure`

Data type: `String`



Default value: `'present'`

##### <a name="-apt--auth--machine"></a>`machine`

Data type: `String`



Default value: `$name`

##### <a name="-apt--auth--login"></a>`login`

Data type: `String`



Default value: `undef`

##### <a name="-apt--auth--password"></a>`password`

Data type: `String`



Default value: `undef`

### <a name="apt--conf"></a>`apt::conf`

Specifies a custom Apt configuration file.
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down