Installing a software with package resource
We will begin by understanding how to install a software with Puppet. Here, the idea is to create one class to install the application on all the hosts, so that you do not need to repeat the task on hundreds of computers.
However, we will need some preparations first. We will need to install the software on a sample host and remember the name of the installation. The installation name will be used as the package name. We will use a simple software called Workrave as an example. This tiny software helps users to have micro rests and prevent "repetitive stress injury". You can download the software from http://www.workrave.org/download/.
We need to download the Windows installer:
After downloading the installer, we will install it on one of our test hosts. This will provide us with the installation details that we need for our Puppet module:
Double-click the installation file and install it by selecting the Next, Accept, and OK buttons, whichever you...