From 53bb25388a5a17d92938dfabfca0e1ba66628cfb Mon Sep 17 00:00:00 2001 From: Auto-release Date: Tue, 29 Oct 2019 10:54:29 +0000 Subject: [PATCH] Release version 7.2.0 --- CHANGELOG.md | 17 +++++++- REFERENCE.md | 108 +++++++++++++++++++++++++++++++++++++++++++++++++- metadata.json | 2 +- 3 files changed, 124 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fae51f1..37b78d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,22 @@ 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). -## [v7.1.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v7.1.0) (2019-07-29) +## [v7.2.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v7.2.0) (2019-10-29) + +[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v7.1.0...v7.2.0) + +### Added + +- Add apt::mark defined type [\#879](https://github.com/puppetlabs/puppetlabs-apt/pull/879) ([tuxmea](https://github.com/tuxmea)) +- \(FM-8394\) add debian 10 testing [\#876](https://github.com/puppetlabs/puppetlabs-apt/pull/876) ([ThoughtCrhyme](https://github.com/ThoughtCrhyme)) +- Add apt::key\_options for default apt::key options [\#873](https://github.com/puppetlabs/puppetlabs-apt/pull/873) ([raphink](https://github.com/raphink)) +- implement apt.conf.d purging [\#869](https://github.com/puppetlabs/puppetlabs-apt/pull/869) ([lelutin](https://github.com/lelutin)) + +### Fixed + +- Install gnupg instead of dirmngr [\#866](https://github.com/puppetlabs/puppetlabs-apt/pull/866) ([martijndegouw](https://github.com/martijndegouw)) + +## [v7.1.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v7.1.0) (2019-07-30) [Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v7.0.1...v7.1.0) diff --git a/REFERENCE.md b/REFERENCE.md index 06aff21..0987e27 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -19,6 +19,7 @@ _Private Classes_ * [`apt::conf`](#aptconf): Specifies a custom Apt configuration file. * [`apt::key`](#aptkey): Manages the GPG keys that Apt uses to authenticate packages. +* [`apt::mark`](#aptmark): defined typeapt::mark * [`apt::pin`](#aptpin): Manages Apt pins. Does not trigger an apt-get update run. * [`apt::ppa`](#aptppa): Manages PPA repositories using `add-apt-repository`. Not supported on Debian. * [`apt::setting`](#aptsetting): Manages Apt configuration files. @@ -35,6 +36,11 @@ _Private Resource types_ by apt to perform package validation. Apt has it's own GPG keyring that can be manipulated through the `apt-key` command. +**Data types** + +* [`Apt::Auth_conf_entry`](#aptauth_conf_entry): Login configuration settings that are recorded in the file `/etc/apt/auth.conf`. +* [`Apt::Proxy`](#aptproxy): Configures Apt to connect to a proxy server. + **Tasks** * [`init`](#init): Allows you to perform apt functions @@ -70,6 +76,14 @@ hkp://). Default value: $apt::params::keyserver +##### `key_options` + +Data type: `Optional[String]` + +Specifies the default options for apt::key resources. + +Default value: $apt::params::key_options + ##### `ppa_options` Data type: `Optional[String]` @@ -305,6 +319,14 @@ Data type: `Hash` Default value: $apt::params::include_defaults +##### `apt_conf_d` + +Data type: `String` + + + +Default value: $apt::params::apt_conf_d + ##### `source_key_defaults` Data type: `Hash` @@ -519,7 +541,23 @@ Data type: `Optional[String]` Passes additional options to `apt-key adv --keyserver-options`. -Default value: `undef` +Default value: $::apt::key_options + +### apt::mark + +defined typeapt::mark + +#### Parameters + +The following parameters are available in the `apt::mark` defined type. + +##### `setting` + +Data type: `Enum['auto','manual','hold','unhold']` + +auto, manual, hold, unhold +specifies the behavior of apt in case of no more dependencies installed +https://manpages.debian.org/sretch/apt/apt-mark.8.en.html ### apt::pin @@ -872,6 +910,74 @@ Default value: `true` ## Resource types +## Data types + +### Apt::Auth_conf_entry + +Login configuration settings that are recorded in the file `/etc/apt/auth.conf`. + +* **See also** +https://manpages.debian.org/testing/apt/apt_auth.conf.5.en.html +for more information + +Alias of `Struct[{ + machine => String[1], + login => String, + password => String + }]` + +#### Parameters + +The following parameters are available in the `Apt::Auth_conf_entry` data type. + +##### `machine` + +Hostname of machine to connect to. + +##### `login` + +Specifies the username to connect with. + +##### `password` + +Specifies the password to connect with. + +### Apt::Proxy + +Configures Apt to connect to a proxy server. + +Alias of `Struct[{ + ensure => Optional[Enum['file', 'present', 'absent']], + host => Optional[String], + port => Optional[Integer[0, 65535]], + https => Optional[Boolean], + direct => Optional[Boolean], + }]` + +#### Parameters + +The following parameters are available in the `Apt::Proxy` data type. + +##### `ensure` + +Specifies whether the proxy should exist. Valid options: 'file', 'present', and 'absent'. Prefer 'file' over 'present'. + +##### `host` + +Specifies a proxy host to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: a string containing a hostname. + +##### `port` + +Specifies a proxy port to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: an integer containing a port number. + +##### `https` + +Specifies whether to enable https proxies. + +##### `direct` + +Specifies whether or not to use a `DIRECT` https proxy if http proxy is used but https is not. + ## Tasks ### init diff --git a/metadata.json b/metadata.json index aa9a831..19f0e8e 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-apt", - "version": "7.1.0", + "version": "7.2.0", "author": "puppetlabs", "summary": "Provides an interface for managing Apt source, key, and definitions with Puppet", "license": "Apache-2.0", -- 2.45.2