One of the challenging tasks we may have is to update of the Puppet agents. Before updating the agents, ensure that the agent version is never higher than the server version. Thus, we should first start updating our server.
Before updating your server, ensure that you have a backup. The easiest method to update is to write the following commands. These two commands will update your Linux server and if there are any updates related to Foreman and Puppet, they will also be implemented:
$ sudo apt-get update $ sudo apt-get upgrade -y
The following screenshot shows that there are many updates for the server:
After some major updates, the server may require a restart. In this case, write the following command ...