Puppet services can be used to build application blueprints. You must import Puppet classes and defined resources into the vCloud Application Director catalog as services.

You can import multiple Puppet classes at the same time.

After you import the Puppet classes, these services have a special tag called Puppet Services. The newly imported services do not have action scripts. vCloud Application Director delegates their life cycle activities to the registered Puppet master instance in the corresponding deployment environment.

The imported Puppet content cannot be updated. You can remove the service or change the existing Puppet service version and import the updated Puppet content into the catalog.

Verify that your user account has the ROLE_CATALOG_ADMIN catalog administrator role assigned to it.

Start the vCloud Application Director CLI. See Start the CLI Remotely.

The remote machine that you use to run the CLI must have Puppet modules installed and the Puppet CLI available.

You can also use a Puppet master machine to maintain the Puppet modules on two different machines.

Verify that the Puppet services you are importing are available on the Puppet master.

In the roo shell, type the command to import the Puppet class such as Apache.

import-puppet-manifest --typeFilter "^apache$"

The parameters in the command are case sensitive. If you use the incorrect case, the command is ignored.

Parameter

Description

typeFilter

Limits the import to types matching the specified search expression.

For details about expression syntax refer to the Puppet documentation or type puppet man resource_type to view the man pages. For example, to import the mysql class, type import-puppet-manifests --typeFilter "^mysql$".

osfamily

Specifies the operating system for the imported type.

Linux is the default operating system.

shared

Indicates whether the artifact is shared publicly or private.

You can define true or false in the command. The default setting false indicates that the artifact is private to the user's group performing the import operation.

The command imports the apache Puppet class to the catalog.

Add the Puppet content to a new or existing application blueprint from the Puppet Services section of the blueprint canvas and deploy the application. See Create an Application and Set Up and Configure a Deployment Profile.