Module apk
Ensure that an apk managed package is present, absent or updated.
Info:
- License: MIT http://opensource.org/licenses/MIT
- Author: Eduardo Tongson propolice@gmail.com
- Added: 0.9.0
Functions
- present(update_cache)
-
Install a package
See
apk help
for full description of options and parametersPromiser:
-
package
Aliases:
- installed
- install
Parameters:
- update_cache update cache before adding package [DEFAULT: "no", false]
Usage:
apk.present("strace"){ update_cache = true }
- absent(None)
-
Remove a package
Promiser:
-
package
Aliases:
- removed
- remove
Parameters:
- None
Usage:
apk.absent"strace"()