Upgrade Remediate on online nodes

Upgrading to a new version of Puppet Remediate on a node with internet access can be done with a few simple commands.

To upgrade to the latest version of Remediate:

Run the Remediate update command:
docker-compose run remediate update
Important: If you are upgrading from Remediate 1.1.x, you must stop Remediate and remove the oauth_client.json file before running the update command:
docker-compose run remediate stop
docker secret rm oauth_client.json

There is no need to do this if you are upgrading from Remediate 1.2.x or later.