Offer a virtual machine with the Puppet agent

All Puppet nodes require the Puppet agent service to communicate with the Puppet Master.

Before you begin

Role required: puppet_admin

About this task

To provision and configure virtual machines with Puppet, create a Linux virtual machine template that includes the Puppet agent software. After creating the template, create a catalog item for a Linux virtual machine using that template. See the VMware template documentation for information on creating a virtual machine template.

Procedure

  1. Provision a virtual machine in vCenter with a name that identifies it as a Puppet node.

    You can use the instance to provision the virtual machine, or use vCenter to provision the virtual machine manually.

  2. Install the Puppet agent software on the new virtual machine.

    Refer to the Puppet documentation for more information on installing the Puppet agent.

  3. Create a user account on the virtual machine with permission to run Puppet. There must be a credential record for this user within the instance.
  4. In vCenter, mark this virtual machine as an available template.
  5. Discover the template to add it to the list of available virtual machine templates.

    The instance cannot detect whether the Puppet agent is included with a template. It is the responsibility of the vCenter administrator to ensure this template has the Puppet agent installed.