Start adding classes
In this section, you use the console to add a class to your Puppet agent. Classes are named chunks of Puppet code that are stored in modules. The class you assign in this exercise is derived from the module you installed previously.
The Puppet
wsus_client
module
contains a class called wsus_client
. In
this exercise, you use the wsus_client
class to supply the types and providers necessary to schedule updates using a WSUS
server with Puppet.
To prepare the class, you create a group called windows_example
and add the wsus_client
class to it.
Step 1: Create the windows_example
group
To classify a node is to add classification data (classes, parameters, and variables) for the node group to the node.
These instructions assume you have installed PE, at least one Windows agent node, and the puppetlabs-wsus_client
module.
Step 2: Add the wsus_client
class to the example group
Adding the class to the group and then running Puppet configures the group to use that class.