salt.modules.freebsd_update module

Support for freebsd-update utility on FreeBSD.

New in version 2017.7.0.

maintainer

George Mamalakis <mamalos@gmail.com>

maturity

new

platform

FreeBSD

salt.modules.freebsd_update.fetch(**kwargs)

New 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.

salt.modules.freebsd_update.ids(**kwargs)

New 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.

salt.modules.freebsd_update.install(**kwargs)

New in version 2016.3.4.

freebsd-update install wrapper. Install the most recently fetched updates or upgrade.

kwargs:

Parameters of freebsd-update command.

salt.modules.freebsd_update.rollback(**kwargs)

New in version 2016.3.4.

freebsd-update rollback wrapper. Uninstalls the most recently installed updates.

kwargs:

Parameters of freebsd-update command.

salt.modules.freebsd_update.update(**kwargs)

New 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.

salt.modules.freebsd_update.upgrade(**kwargs)

New 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.