From: Paula Muir Date: Mon, 15 Feb 2021 14:07:25 +0000 (+0000) Subject: Merge pull request #968 from Disha-maker/release X-Git-Tag: v7.7.1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=709a4eb3af1d713159b2eab55ff5e8b95d79d8b9;hp=b9dbcb085c5c3427e35fd25d663271946174425f;p=puppet-modules%2Fpuppetlabs-apt.git Merge pull request #968 from Disha-maker/release (IAC-1436) Release Prep PR version 7.7.1 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e7dfa4..8468e12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,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). +## [v7.7.1](https://github.com/puppetlabs/puppetlabs-apt/tree/v7.7.1) (2021-02-15) + +[Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v7.7.0...v7.7.1) + +### Fixed + +- Use modern os facts [\#964](https://github.com/puppetlabs/puppetlabs-apt/pull/964) ([kenyon](https://github.com/kenyon)) + ## [v7.7.0](https://github.com/puppetlabs/puppetlabs-apt/tree/v7.7.0) (2020-12-08) [Full Changelog](https://github.com/puppetlabs/puppetlabs-apt/compare/v7.6.0...v7.7.0) @@ -890,4 +898,4 @@ This release includes Ubuntu 12.10 (Quantal) support for PPAs. [4.2.0]:https://github.com/puppetlabs/puppetlabs-apt/compare/4.1.0...4.2.0 -\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/REFERENCE.md b/REFERENCE.md index 13f5f9a..4fd85eb 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -48,7 +48,7 @@ be manipulated through the `apt-key` command. ## Classes -### `apt` +### `apt` Main class, includes all other classes. @@ -58,9 +58,42 @@ Main class, includes all other classes. #### Parameters -The following parameters are available in the `apt` class. - -##### `provider` +The following parameters are available in the `apt` class: + +* [`provider`](#provider) +* [`keyserver`](#keyserver) +* [`key_options`](#key_options) +* [`ppa_options`](#ppa_options) +* [`ppa_package`](#ppa_package) +* [`backports`](#backports) +* [`confs`](#confs) +* [`update`](#update) +* [`purge`](#purge) +* [`proxy`](#proxy) +* [`sources`](#sources) +* [`keys`](#keys) +* [`ppas`](#ppas) +* [`pins`](#pins) +* [`settings`](#settings) +* [`manage_auth_conf`](#manage_auth_conf) +* [`auth_conf_entries`](#auth_conf_entries) +* [`auth_conf_owner`](#auth_conf_owner) +* [`root`](#root) +* [`sources_list`](#sources_list) +* [`sources_list_d`](#sources_list_d) +* [`conf_d`](#conf_d) +* [`preferences`](#preferences) +* [`preferences_d`](#preferences_d) +* [`config_files`](#config_files) +* [`sources_list_force`](#sources_list_force) +* [`update_defaults`](#update_defaults) +* [`purge_defaults`](#purge_defaults) +* [`proxy_defaults`](#proxy_defaults) +* [`include_defaults`](#include_defaults) +* [`apt_conf_d`](#apt_conf_d) +* [`source_key_defaults`](#source_key_defaults) + +##### `provider` Data type: `String` @@ -68,7 +101,7 @@ Specifies the provider that should be used by apt::update. Default value: `$apt::params::provider` -##### `keyserver` +##### `keyserver` Data type: `String` @@ -77,7 +110,7 @@ hkp://). Default value: `$apt::params::keyserver` -##### `key_options` +##### `key_options` Data type: `Optional[String]` @@ -85,7 +118,7 @@ Specifies the default options for apt::key resources. Default value: `$apt::params::key_options` -##### `ppa_options` +##### `ppa_options` Data type: `Optional[String]` @@ -93,7 +126,7 @@ Supplies options to be passed to the `add-apt-repository` command. Default value: `$apt::params::ppa_options` -##### `ppa_package` +##### `ppa_package` Data type: `Optional[String]` @@ -101,7 +134,7 @@ Names the package that provides the `apt-add-repository` command. Default value: `$apt::params::ppa_package` -##### `backports` +##### `backports` Data type: `Optional[Hash]` @@ -115,7 +148,7 @@ Options: Default value: `$apt::params::backports` -##### `confs` +##### `confs` Data type: `Hash` @@ -123,7 +156,7 @@ Creates new `apt::conf` resources. Valid options: a hash to be passed to the cre Default value: `$apt::params::confs` -##### `update` +##### `update` Data type: `Hash` @@ -141,7 +174,7 @@ Valid options: 'always' (at every Puppet run); 'daily' (if the value of `apt_upd Default value: `$apt::params::update` -##### `purge` +##### `purge` Data type: `Hash` @@ -156,7 +189,7 @@ Options: Default value: `$apt::params::purge` -##### `proxy` +##### `proxy` Data type: `Apt::Proxy` @@ -164,7 +197,7 @@ Configures Apt to connect to a proxy server. Valid options: a hash matching the Default value: `$apt::params::proxy` -##### `sources` +##### `sources` Data type: `Hash` @@ -172,7 +205,7 @@ Creates new `apt::source` resources. Valid options: a hash to be passed to the c Default value: `$apt::params::sources` -##### `keys` +##### `keys` Data type: `Hash` @@ -180,7 +213,7 @@ Creates new `apt::key` resources. Valid options: a hash to be passed to the crea Default value: `$apt::params::keys` -##### `ppas` +##### `ppas` Data type: `Hash` @@ -188,7 +221,7 @@ Creates new `apt::ppa` resources. Valid options: a hash to be passed to the crea Default value: `$apt::params::ppas` -##### `pins` +##### `pins` Data type: `Hash` @@ -196,7 +229,7 @@ Creates new `apt::pin` resources. Valid options: a hash to be passed to the crea Default value: `$apt::params::pins` -##### `settings` +##### `settings` Data type: `Hash` @@ -204,7 +237,7 @@ Creates new `apt::setting` resources. Valid options: a hash to be passed to the Default value: `$apt::params::settings` -##### `manage_auth_conf` +##### `manage_auth_conf` Data type: `Boolean` @@ -213,7 +246,7 @@ the auth_conf_entries parameter. When false, the file will be ignored (note that Default value: `$apt::params::manage_auth_conf` -##### `auth_conf_entries` +##### `auth_conf_entries` Data type: `Array[Apt::Auth_conf_entry]` @@ -224,7 +257,7 @@ password and no others. Specifying manage_auth_conf and not specifying this para Default value: `$apt::params::auth_conf_entries` -##### `auth_conf_owner` +##### `auth_conf_owner` Data type: `String` @@ -232,7 +265,7 @@ The owner of the file /etc/apt/auth.conf. Default: '_apt' or 'root' on old relea Default value: `$apt::params::auth_conf_owner` -##### `root` +##### `root` Data type: `String` @@ -240,7 +273,7 @@ Specifies root directory of Apt executable. Default value: `$apt::params::root` -##### `sources_list` +##### `sources_list` Data type: `String` @@ -248,7 +281,7 @@ Specifies the path of the sources_list file to use. Default value: `$apt::params::sources_list` -##### `sources_list_d` +##### `sources_list_d` Data type: `String` @@ -256,7 +289,7 @@ Specifies the path of the sources_list.d file to use. Default value: `$apt::params::sources_list_d` -##### `conf_d` +##### `conf_d` Data type: `String` @@ -264,7 +297,7 @@ Specifies the path of the conf.d file to use. Default value: `$apt::params::conf_d` -##### `preferences` +##### `preferences` Data type: `String` @@ -272,7 +305,7 @@ Specifies the path of the preferences file to use. Default value: `$apt::params::preferences` -##### `preferences_d` +##### `preferences_d` Data type: `String` @@ -280,7 +313,7 @@ Specifies the path of the preferences.d file to use. Default value: `$apt::params::preferences_d` -##### `config_files` +##### `config_files` Data type: `Hash` @@ -288,7 +321,7 @@ A hash made up of the various configuration files used by Apt. Default value: `$apt::params::config_files` -##### `sources_list_force` +##### `sources_list_force` Data type: `Boolean` @@ -296,7 +329,7 @@ Specifies whether to perform force purge or delete. Default false. Default value: `$apt::params::sources_list_force` -##### `update_defaults` +##### `update_defaults` Data type: `Hash` @@ -304,7 +337,7 @@ Data type: `Hash` Default value: `$apt::params::update_defaults` -##### `purge_defaults` +##### `purge_defaults` Data type: `Hash` @@ -312,7 +345,7 @@ Data type: `Hash` Default value: `$apt::params::purge_defaults` -##### `proxy_defaults` +##### `proxy_defaults` Data type: `Hash` @@ -320,7 +353,7 @@ Data type: `Hash` Default value: `$apt::params::proxy_defaults` -##### `include_defaults` +##### `include_defaults` Data type: `Hash` @@ -328,7 +361,7 @@ Data type: `Hash` Default value: `$apt::params::include_defaults` -##### `apt_conf_d` +##### `apt_conf_d` Data type: `String` @@ -336,7 +369,7 @@ Data type: `String` Default value: `$apt::params::apt_conf_d` -##### `source_key_defaults` +##### `source_key_defaults` Data type: `Hash` @@ -344,7 +377,7 @@ Data type: `Hash` Default value: `$apt::params::source_key_defaults` -### `apt::backports` +### `apt::backports` Manages backports. @@ -366,9 +399,16 @@ class { 'apt::backports': #### Parameters -The following parameters are available in the `apt::backports` class. +The following parameters are available in the `apt::backports` class: + +* [`location`](#location) +* [`release`](#release) +* [`repos`](#repos) +* [`key`](#key) +* [`pin`](#pin) +* [`include`](#include) -##### `location` +##### `location` Data type: `Optional[String]` @@ -381,7 +421,7 @@ Ubuntu varies: Default value: ``undef`` -##### `release` +##### `release` Data type: `Optional[String]` @@ -391,7 +431,7 @@ systems. Default value: ``undef`` -##### `repos` +##### `repos` Data type: `Optional[String]` @@ -404,7 +444,7 @@ Default value for Debian and Ubuntu varies: Default value: ``undef`` -##### `key` +##### `key` Data type: `Optional[Variant[String, Hash]]` @@ -418,7 +458,7 @@ for Debian and Ubuntu varies: Default value: ``undef`` -##### `pin` +##### `pin` Data type: `Optional[Variant[Integer, String, Hash]]` @@ -427,7 +467,7 @@ type, or a hash of `parameter => value` pairs to be passed to `apt::pin`'s corre Default value: `200` -##### `include` +##### `include` Data type: `Optional[Variant[Hash]]` @@ -437,15 +477,20 @@ Default value: `{}` ## Defined types -### `apt::conf` +### `apt::conf` Specifies a custom Apt configuration file. #### Parameters -The following parameters are available in the `apt::conf` defined type. +The following parameters are available in the `apt::conf` defined type: + +* [`content`](#content) +* [`ensure`](#ensure) +* [`priority`](#priority) +* [`notify_update`](#notify_update) -##### `content` +##### `content` Data type: `Optional[String]` @@ -453,7 +498,7 @@ Required unless `ensure` is set to 'absent'. Directly supplies content for the c Default value: ``undef`` -##### `ensure` +##### `ensure` Data type: `Enum['present', 'absent']` @@ -461,7 +506,7 @@ Specifies whether the configuration file should exist. Valid options: 'present' Default value: `present` -##### `priority` +##### `priority` Data type: `Variant[String, Integer]` @@ -470,7 +515,7 @@ Valid options: a string containing an integer or an integer. Default value: `50` -##### `notify_update` +##### `notify_update` Data type: `Optional[Boolean]` @@ -478,7 +523,7 @@ Specifies whether to trigger an `apt-get update` run. Default value: ``undef`` -### `apt::key` +### `apt::key` Manages the GPG keys that Apt uses to authenticate packages. @@ -498,9 +543,17 @@ apt::key { 'puppetlabs': #### Parameters -The following parameters are available in the `apt::key` defined type. +The following parameters are available in the `apt::key` defined type: -##### `id` +* [`id`](#id) +* [`ensure`](#ensure) +* [`content`](#content) +* [`source`](#source) +* [`server`](#server) +* [`weak_ssl`](#weak_ssl) +* [`options`](#options) + +##### `id` Data type: `Pattern[/\A(0x)?[0-9a-fA-F]{8}\Z/, /\A(0x)?[0-9a-fA-F]{16}\Z/, /\A(0x)?[0-9a-fA-F]{40}\Z/]` @@ -509,7 +562,7 @@ characters, optionally prefixed with "0x") or a full key fingerprint (40 hexadec Default value: `$title` -##### `ensure` +##### `ensure` Data type: `Enum['present', 'absent', 'refreshed']` @@ -518,7 +571,7 @@ update when they have expired (assuming a new key exists on the key server). Default value: `present` -##### `content` +##### `content` Data type: `Optional[String]` @@ -526,7 +579,7 @@ Supplies the entire GPG key. Useful in case the key can't be fetched from a remo Default value: ``undef`` -##### `source` +##### `source` Data type: `Optional[Pattern[/\Ahttps?:\/\//, /\Aftp:\/\//, /\A\/\w+/]]` @@ -535,7 +588,7 @@ an absolute path. Default value: ``undef`` -##### `server` +##### `server` Data type: `Pattern[/\A((hkp|hkps|http|https):\/\/)?([a-z\d])([a-z\d-]{0,61}\.)+[a-z\d]+(:\d{2,5})?(\/[a-zA-Z\d\-_.]+)*\/?$/]` @@ -544,7 +597,7 @@ hkp:// or hkps://). The hkps:// protocol is currently only supported on Ubuntu 1 Default value: `$::apt::keyserver` -##### `weak_ssl` +##### `weak_ssl` Data type: `Boolean` @@ -552,7 +605,7 @@ Specifies whether strict SSL verification on a https URL should be disabled. Val Default value: ``false`` -##### `options` +##### `options` Data type: `Optional[String]` @@ -560,15 +613,17 @@ Passes additional options to `apt-key adv --keyserver-options`. Default value: `$::apt::key_options` -### `apt::mark` +### `apt::mark` defined typeapt::mark #### Parameters -The following parameters are available in the `apt::mark` defined type. +The following parameters are available in the `apt::mark` defined type: + +* [`setting`](#setting) -##### `setting` +##### `setting` Data type: `Enum['auto','manual','hold','unhold']` @@ -576,7 +631,7 @@ 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` +### `apt::pin` Manages Apt pins. Does not trigger an apt-get update run. @@ -586,9 +641,23 @@ Manages Apt pins. Does not trigger an apt-get update run. #### Parameters -The following parameters are available in the `apt::pin` defined type. +The following parameters are available in the `apt::pin` defined type: -##### `ensure` +* [`ensure`](#ensure) +* [`explanation`](#explanation) +* [`order`](#order) +* [`packages`](#packages) +* [`priority`](#priority) +* [`release`](#release) +* [`release_version`](#release_version) +* [`component`](#component) +* [`originator`](#originator) +* [`label`](#label) +* [`origin`](#origin) +* [`version`](#version) +* [`codename`](#codename) + +##### `ensure` Data type: `Optional[Enum['file', 'present', 'absent']]` @@ -596,7 +665,7 @@ Specifies whether the pin should exist. Valid options: 'file', 'present', and 'a Default value: `present` -##### `explanation` +##### `explanation` Data type: `Optional[String]` @@ -604,7 +673,7 @@ Supplies a comment to explain the pin. Default: "${caller_module_name}: ${name}" Default value: ``undef`` -##### `order` +##### `order` Data type: `Variant[Integer]` @@ -612,7 +681,7 @@ Determines the order in which Apt processes the pin file. Files with lower order Default value: `50` -##### `packages` +##### `packages` Data type: `Variant[String, Array]` @@ -620,7 +689,7 @@ Specifies which package(s) to pin. Default value: `'*'` -##### `priority` +##### `priority` Data type: `Variant[Numeric, String]` @@ -629,7 +698,7 @@ priority number (subject to dependency constraints). Valid options: an integer. Default value: `0` -##### `release` +##### `release` Data type: `Optional[String]` @@ -637,7 +706,7 @@ Tells APT to prefer packages that support the specified release. Typical values Default value: `''` -##### `release_version` +##### `release_version` Data type: `Optional[String]` @@ -645,7 +714,7 @@ Tells APT to prefer packages that support the specified operating system release Default value: `''` -##### `component` +##### `component` Data type: `Optional[String]` @@ -653,7 +722,7 @@ Names the licensing component associated with the packages in the directory tree Default value: `''` -##### `originator` +##### `originator` Data type: `Optional[String]` @@ -661,7 +730,7 @@ Names the originator of the packages in the directory tree of the Release file. Default value: `''` -##### `label` +##### `label` Data type: `Optional[String]` @@ -669,7 +738,7 @@ Names the label of the packages in the directory tree of the Release file. Default value: `''` -##### `origin` +##### `origin` Data type: `Optional[String]` @@ -677,7 +746,7 @@ Data type: `Optional[String]` Default value: `''` -##### `version` +##### `version` Data type: `Optional[String]` @@ -685,7 +754,7 @@ Data type: `Optional[String]` Default value: `''` -##### `codename` +##### `codename` Data type: `Optional[String]` @@ -693,7 +762,7 @@ Data type: `Optional[String]` Default value: `''` -### `apt::ppa` +### `apt::ppa` Manages PPA repositories using `add-apt-repository`. Not supported on Debian. @@ -707,9 +776,16 @@ apt::ppa{ 'ppa:openstack-ppa/bleeding-edge': } #### Parameters -The following parameters are available in the `apt::ppa` defined type. +The following parameters are available in the `apt::ppa` defined type: + +* [`ensure`](#ensure) +* [`options`](#options) +* [`release`](#release) +* [`dist`](#dist) +* [`package_name`](#package_name) +* [`package_manage`](#package_manage) -##### `ensure` +##### `ensure` Data type: `String` @@ -717,7 +793,7 @@ Specifies whether the PPA should exist. Valid options: 'present' and 'absent'. Default value: `'present'` -##### `options` +##### `options` Data type: `Optional[String]` @@ -725,7 +801,7 @@ Supplies options to be passed to the `add-apt-repository` command. Default: '-y' Default value: `$::apt::ppa_options` -##### `release` +##### `release` Data type: `Optional[String]` @@ -734,7 +810,7 @@ Optional if `puppet facts show os.distro.codename` returns your correct distribu Default value: `$facts['os']['distro']['codename']` -##### `dist` +##### `dist` Data type: `Optional[String]` @@ -743,7 +819,7 @@ Optional if `puppet facts show os.name` returns your correct distribution name. Default value: `$facts['os']['name']` -##### `package_name` +##### `package_name` Data type: `Optional[String]` @@ -751,7 +827,7 @@ Names the package that provides the `apt-add-repository` command. Default: 'soft Default value: `$::apt::ppa_package` -##### `package_manage` +##### `package_manage` Data type: `Boolean` @@ -759,7 +835,7 @@ Specifies whether Puppet should manage the package that provides `apt-add-reposi Default value: ``false`` -### `apt::setting` +### `apt::setting` Manages Apt configuration files. @@ -769,9 +845,15 @@ Manages Apt configuration files. #### Parameters -The following parameters are available in the `apt::setting` defined type. +The following parameters are available in the `apt::setting` defined type: -##### `priority` +* [`priority`](#priority) +* [`ensure`](#ensure) +* [`source`](#source) +* [`content`](#content) +* [`notify_update`](#notify_update) + +##### `priority` Data type: `Variant[String, Integer, Array]` @@ -779,7 +861,7 @@ Determines the order in which Apt processes the configuration file. Files with h Default value: `50` -##### `ensure` +##### `ensure` Data type: `Optional[Enum['file', 'present', 'absent']]` @@ -787,7 +869,7 @@ Specifies whether the file should exist. Valid options: 'present', 'absent', and Default value: `file` -##### `source` +##### `source` Data type: `Optional[String]` @@ -796,7 +878,7 @@ with `content`. Valid options: see link above for Puppet's native file type sour Default value: ``undef`` -##### `content` +##### `content` Data type: `Optional[String]` @@ -805,7 +887,7 @@ options: see link above for Puppet's native file type content attribute. Default value: ``undef`` -##### `notify_update` +##### `notify_update` Data type: `Boolean` @@ -813,7 +895,7 @@ Specifies whether to trigger an `apt-get update` run. Default value: ``true`` -### `apt::source` +### `apt::source` Manages the Apt sources in /etc/apt/sources.list.d/. @@ -834,9 +916,21 @@ apt::source { 'puppetlabs': #### Parameters -The following parameters are available in the `apt::source` defined type. +The following parameters are available in the `apt::source` defined type: + +* [`location`](#location) +* [`comment`](#comment) +* [`ensure`](#ensure) +* [`release`](#release) +* [`repos`](#repos) +* [`include`](#include) +* [`key`](#key) +* [`pin`](#pin) +* [`architecture`](#architecture) +* [`allow_unsigned`](#allow_unsigned) +* [`notify_update`](#notify_update) -##### `location` +##### `location` Data type: `Optional[String]` @@ -844,7 +938,7 @@ Required, unless ensure is set to 'absent'. Specifies an Apt repository. Valid o Default value: ``undef`` -##### `comment` +##### `comment` Data type: `String` @@ -852,7 +946,7 @@ Supplies a comment for adding to the Apt source file. Default value: `$name` -##### `ensure` +##### `ensure` Data type: `String` @@ -860,7 +954,7 @@ Specifies whether the Apt source file should exist. Valid options: 'present' and Default value: `present` -##### `release` +##### `release` Data type: `Optional[String]` @@ -868,7 +962,7 @@ Specifies a distribution of the Apt repository. Default value: ``undef`` -##### `repos` +##### `repos` Data type: `String` @@ -876,7 +970,7 @@ Specifies a component of the Apt repository. Default value: `'main'` -##### `include` +##### `include` Data type: `Optional[Variant[Hash]]` @@ -889,7 +983,7 @@ Options: Default value: `{}` -##### `key` +##### `key` Data type: `Optional[Variant[String, Hash]]` @@ -899,7 +993,7 @@ defined type, or a hash of `parameter => value` pairs to be passed to `apt::key` Default value: ``undef`` -##### `pin` +##### `pin` Data type: `Optional[Variant[Hash, Numeric, String]]` @@ -908,7 +1002,7 @@ Creates a declaration of the apt::pin defined type. Valid options: a number or s Default value: ``undef`` -##### `architecture` +##### `architecture` Data type: `Optional[String]` @@ -918,7 +1012,7 @@ defined in the Apt::Architectures option). Default value: ``undef`` -##### `allow_unsigned` +##### `allow_unsigned` Data type: `Boolean` @@ -926,7 +1020,7 @@ Specifies whether to authenticate packages from this release, even if the Releas Default value: ``false`` -##### `notify_update` +##### `notify_update` Data type: `Boolean` @@ -938,7 +1032,7 @@ Default value: ``true`` ## Data types -### `Apt::Auth_conf_entry` +### `Apt::Auth_conf_entry` Login configuration settings that are recorded in the file `/etc/apt/auth.conf`. @@ -946,68 +1040,86 @@ Login configuration settings that are recorded in the file `/etc/apt/auth.conf`. * https://manpages.debian.org/testing/apt/apt_auth.conf.5.en.html * for more information -Alias of `Struct[{ +Alias of + +```puppet +Struct[{ machine => String[1], login => String, password => String - }]` + }] +``` #### Parameters -The following parameters are available in the `Apt::Auth_conf_entry` data type. +The following parameters are available in the `Apt::Auth_conf_entry` data type: + +* [`machine`](#machine) +* [`login`](#login) +* [`password`](#password) -##### `machine` +##### `machine` Hostname of machine to connect to. -##### `login` +##### `login` Specifies the username to connect with. -##### `password` +##### `password` Specifies the password to connect with. -### `Apt::Proxy` +### `Apt::Proxy` Configures Apt to connect to a proxy server. -Alias of `Struct[{ +Alias of + +```puppet +Struct[{ ensure => Optional[Enum['file', 'present', 'absent']], host => Optional[String], port => Optional[Integer[0, 65535]], https => Optional[Boolean], https_acng => Optional[Boolean], direct => Optional[Boolean], - }]` + }] +``` #### Parameters -The following parameters are available in the `Apt::Proxy` data type. +The following parameters are available in the `Apt::Proxy` data type: + +* [`ensure`](#ensure) +* [`host`](#host) +* [`port`](#port) +* [`https`](#https) +* [`direct`](#direct) -##### `ensure` +##### `ensure` Specifies whether the proxy should exist. Valid options: 'file', 'present', and 'absent'. Prefer 'file' over 'present'. -##### `host` +##### `host` Specifies a proxy host to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: a string containing a hostname. -##### `port` +##### `port` Specifies a proxy port to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: an integer containing a port number. -##### `https` +##### `https` Specifies whether to enable https proxies. -##### `direct` +##### `direct` Specifies whether or not to use a `DIRECT` https proxy if http proxy is used but https is not. ## Tasks -### `init` +### `init` Allows you to perform apt functions diff --git a/metadata.json b/metadata.json index bc91c20..78db794 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-apt", - "version": "7.7.0", + "version": "7.7.1", "author": "puppetlabs", "summary": "Provides an interface for managing Apt source, key, and definitions with Puppet", "license": "Apache-2.0",