The following parameters are available in the `apt` class.
##### `provider`
Data type: `String`
Specifies the provider that should be used by apt::update.
Default value: `$apt::params::provider`
##### `keyserver`
Data type: `String`
Specifies a keyserver to provide the GPG key. Valid options: a string containing a domain name or a full URL (http://, https://, or
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]`
Supplies options to be passed to the `add-apt-repository` command.
Default value: `$apt::params::ppa_options`
##### `ppa_package`
Data type: `Optional[String]`
Names the package that provides the `apt-add-repository` command.
Default value: `$apt::params::ppa_package`
##### `backports`
Data type: `Optional[Hash]`
Specifies some of the default parameters used by apt::backports. Valid options: a hash made up from the following keys:
Options:
* **:location** `String`: See apt::backports for documentation.
* **:repos** `String`: See apt::backports for documentation.
* **:key** `String`: See apt::backports for documentation.
Default value: `$apt::params::backports`
##### `confs`
Data type: `Hash`
Creates new `apt::conf` resources. Valid options: a hash to be passed to the create_resources function linked above.
Default value: `$apt::params::confs`
##### `update`
Data type: `Hash`
Configures various update settings. Valid options: a hash made up from the following keys:
Options:
* **:frequency** `String`: Specifies how often to run `apt-get update`. If the exec resource `apt_update` is notified, `apt-get update` runs regardless of this value.
Valid options: 'always' (at every Puppet run); 'daily' (if the value of `apt_update_last_success` is less than current epoch time minus 86400);
'weekly' (if the value of `apt_update_last_success` is less than current epoch time minus 604800); and 'reluctantly' (only if the exec resource
`apt_update` is notified). Default: 'reluctantly'.
* **:loglevel** `Integer`: Specifies the log level of logs outputted to the console. Default: undef.
* **:timeout** `Integer`: Specifies how long to wait for the update to complete before canceling it. Valid options: an integer, in seconds. Default: undef.
* **:tries** `Integer`: Specifies how many times to retry the update after receiving a DNS or HTTP error. Default: undef.
Default value: `$apt::params::update`
##### `purge`
Data type: `Hash`
Specifies whether to purge any existing settings that aren't managed by Puppet. Valid options: a hash made up from the following keys:
Options:
* **:sources.list** `Boolean`: Specifies whether to purge any unmanaged entries from sources.list. Default false.
* **:sources.list.d** `Boolean`: Specifies whether to purge any unmanaged entries from sources.list.d. Default false.
* **:preferences** `Boolean`: Specifies whether to purge any unmanaged entries from preferences. Default false.
* **:preferences.d.** `Boolean`: Specifies whether to purge any unmanaged entries from preferences.d. Default false.
Default value: `$apt::params::purge`
##### `proxy`
Data type: `Apt::Proxy`
Configures Apt to connect to a proxy server. Valid options: a hash matching the locally defined type apt::proxy.
Default value: `$apt::params::proxy`
##### `sources`
Data type: `Hash`
Creates new `apt::source` resources. Valid options: a hash to be passed to the create_resources function linked above.
Default value: `$apt::params::sources`
##### `keys`
Data type: `Hash`
Creates new `apt::key` resources. Valid options: a hash to be passed to the create_resources function linked above.
Default value: `$apt::params::keys`
##### `ppas`
Data type: `Hash`
Creates new `apt::ppa` resources. Valid options: a hash to be passed to the create_resources function linked above.
Default value: `$apt::params::ppas`
##### `pins`
Data type: `Hash`
Creates new `apt::pin` resources. Valid options: a hash to be passed to the create_resources function linked above.
Default value: `$apt::params::pins`
##### `settings`
Data type: `Hash`
Creates new `apt::setting` resources. Valid options: a hash to be passed to the create_resources function linked above.
Default value: `$apt::params::settings`
##### `manage_auth_conf`
Data type: `Boolean`
Specifies whether to manage the /etc/apt/auth.conf file. When true, the file will be overwritten with the entries specified in
the auth_conf_entries parameter. When false, the file will be ignored (note that this does not set the file to absent.
Default value: `$apt::params::manage_auth_conf`
##### `auth_conf_entries`
Data type: `Array[Apt::Auth_conf_entry]`
An optional array of login configuration settings (hashes) that are recorded in the file /etc/apt/auth.conf. This file has a netrc-like
format (similar to what curl uses) and contains the login configuration for APT sources and proxies that require authentication. See
https://manpages.debian.org/testing/apt/apt_auth.conf.5.en.html for details. If specified each hash must contain the keys machine, login and
password and no others. Specifying manage_auth_conf and not specifying this parameter will set /etc/apt/auth.conf to absent.
Default value: `$apt::params::auth_conf_entries`
##### `auth_conf_owner`
Data type: `String`
The owner of the file /etc/apt/auth.conf. Default: '_apt' or 'root' on old releases.
Default value: `$apt::params::auth_conf_owner`
##### `root`
Data type: `String`
Specifies root directory of Apt executable.
Default value: `$apt::params::root`
##### `sources_list`
Data type: `String`
Specifies the path of the sources_list file to use.
Default value: `$apt::params::sources_list`
##### `sources_list_d`
Data type: `String`
Specifies the path of the sources_list.d file to use.
Default value: `$apt::params::sources_list_d`
##### `conf_d`
Data type: `String`
Specifies the path of the conf.d file to use.
Default value: `$apt::params::conf_d`
##### `preferences`
Data type: `String`
Specifies the path of the preferences file to use.
Default value: `$apt::params::preferences`
##### `preferences_d`
Data type: `String`
Specifies the path of the preferences.d file to use.
Default value: `$apt::params::preferences_d`
##### `config_files`
Data type: `Hash`
A hash made up of the various configuration files used by Apt.
Default value: `$apt::params::config_files`
##### `sources_list_force`
Data type: `Boolean`
Specifies whether to perform force purge or delete. Default false.