freebsd_update¶
Support for freebsd-update utility on FreeBSD.
Added in version 2017.7.0.
- maintainer:
George Mamalakis <mamalos@gmail.com>
- maturity:
new
- platform:
FreeBSD
- saltext.freebsd.modules.freebsd_update.__virtual__()[source]¶
Added in version 2016.3.4.
Only work on FreeBSD RELEASEs >= 6.2, where freebsd-update was introduced.
- saltext.freebsd.modules.freebsd_update.fetch(**kwargs)[source]¶
Added in version 2016.3.4.
freebsd-update fetch wrapper. Based on the currently installed world and the configuration options set, fetch all available binary updates.
- kwargs:
Parameters of freebsd-update command.
CLI Example:
salt '*' freebsd_update.fetch
- saltext.freebsd.modules.freebsd_update.install(**kwargs)[source]¶
Added in version 2016.3.4.
freebsd-update install wrapper. Install the most recently fetched updates or upgrade.
- kwargs:
Parameters of freebsd-update command.
CLI Example:
salt '*' freebsd_update.install
- saltext.freebsd.modules.freebsd_update.rollback(**kwargs)[source]¶
Added in version 2016.3.4.
freebsd-update rollback wrapper. Uninstalls the most recently installed updates.
- kwargs:
Parameters of freebsd-update command.
CLI Example:
salt '*' freebsd_update.rollback
- saltext.freebsd.modules.freebsd_update.update(**kwargs)[source]¶
Added in version 2016.3.4.
Command that simplifies freebsd-update by running freebsd-update fetch first and then freebsd-update install.
- kwargs:
Parameters of freebsd-update command.
CLI Example:
salt '*' freebsd_update.update
- saltext.freebsd.modules.freebsd_update.ids(**kwargs)[source]¶
Added in version 2016.3.4.
freebsd-update IDS wrapper function. Compares the system against a “known good” index of the installed release.
- kwargs:
Parameters of freebsd-update command.
CLI Example:
salt '*' freebsd_update.IDS
- saltext.freebsd.modules.freebsd_update.upgrade(**kwargs)[source]¶
Added in version 2016.3.4.
Dummy function used only to print a message that upgrade is not available. The reason is that upgrade needs manual intervention and reboot, so even if used with:
yes | freebsd-upgrade -r VERSION
the additional freebsd-update install that needs to run after the reboot cannot be implemented easily.
- kwargs:
Parameters of freebsd-update command.
CLI Example:
salt '*' freebsd_update.upgrade -r 16.0-RELEASE