This defined type allows you to hold a package based on the version you require. It's implemented by dropping an apt preferences file pinning the package to the version you require.
The version at which you wish to pin a package.
This can either be the full version, such as 4:2.11.8.1-5, or a partial version, such as 4:2.11.*
default: +$title+, the title/name of the resource.
Name of the package that apt is to hold.
default: 1001
The default priority of 1001 causes this preference to always win. By setting the priority to a number greater than 1000 apt will always install this version even if it means downgrading the currently installed version.
The apt::key defined type allows for keys to be added to apt's keyring which is used for package validation. This defined type uses the apt_key native type to manage keys. This is a simple wrapper around apt_key with a few safeguards in place.
default: +$title+, the title/name of the resource
Is a GPG key ID. This key ID is validated with a regex enforcing it to only contain valid hexadecimal characters, be precisely 8 or 16 characters long and optionally prefixed with 0x.
default: present
The state we want this key in, may be either one of:
present
absent
default: undef
This parameter can be used to pass in a GPG key as a string in case it cannot be fetched from a remote location and using a file resource is for other reasons inconvenient.
default: undef
This parameter can be used to pass in the location of a GPG key. This URI can take the form of a:
URL
: ftp, http or https
path
: absolute path to a file on the target system.
default: undef
The keyserver from where to fetch our GPG key. It can either be a domain
name or url. It defaults to undef which results in apt_key's default
keyserver being used, currently keyserver.ubuntu.com
.
default: undef
Additional options to pass on to `apt-key adv –keyserver-options`.