apt — Apt packages
apt check searches the local Apt package database, and asserts that packages are installed or missing.
Check that a package is installed:
[[apt]] package = 'ufw'
Check that a particular version is installed:
[[apt]] package = 'tmux' version = '2.8-3'
Check that a package is not installed:
[[apt]] package = 'httpd' state = 'missing'
List of parameters
|package||string||Name of the package.|
|state||string||State of the package. This can be |
|version||string||If installed, the version that should be present.|