-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Puppet 8 for DevOps Engineers
By :

For this chapter, you will need to provision a Puppet server standard architecture with a Windows client and a Linux client by downloading the params.json
file from https://github.com/PacktPublishing/Puppet-8-for-DevOps-Engineers/blob/main/ch04/params.json and then using the following command from your pecdm
directory:
bolt --verbose plan run pecdm::provision –params @params.json
In various sections of this chapter, examples will be given of using the notify
function, which outputs to the agent command line. These examples can just be run in the local development environment by putting all the code into a manifest file – for example, example.pp
– and then running puppet
apply example.pp
.
Alternatively, any variables that are required can be set using the environment variable format of FACTER_variable_name
and running puppet apply –e '<example_code>'
. To run one of the substring examples, you can run the following...