6.2

Table Of Contents
Procedure
1 Navigate to the directory on your Puppet Master and create a directory called appd_nodes.
n
On Puppet Enterprise, navigate to /etc/puppetlabs/puppet/manifests/.
n
On Puppet Open Source, navigate to /etc/puppet/manifests/.
2 Open the /etc/puppetlabs/puppet/manifests/site.pp or /etc/puppet/manifests/site.pp
file and add the command import 'appd_nodes/*.pp' to the first line of the file.
3 In the command line, create the empty_manifest_file.pp file.
n
On Puppet Enterprise, enter
touch /etc/puppetlabs/puppet/manifests/appd_nodes/empty_manifest_file.pp
n
On Puppet Open Source, enter
touch /etc/puppet/manifests/appd_nodes/empty_manifest_file.pp
4 Open the mcollective server configuration file and add the line plugin.ssl_serializer = yaml, if
missing.
n
On Puppet Enterprise, open the file /etc/puppetlabs/mcollective/server.cfg.
n
On Puppet Open Source, open the file /etc/mcollective/server.cfg.
5 Download the appdintegn.rb and appdintegn.ddl agent files.
http://Application_Services_IP/artifacts/solutions/puppet/mcollective/agent/appdintegn.ddl
http://Application_Services_IP/artifacts/solutions/puppet/mcollective/agent/appdintegn.rb
6 Copy the appdintegn.rb and appdintegn.ddl agent files to the LIBDIR/mcollective/agent directory on
the Puppet master.
LIBDIR is the value of the MCollective libdir setting that is typically set
to /opt/puppet/libexec/mcollective/.
7 Restart MCollective to view the newly copied agent files.
n
On Puppet Enterprise, enter /etc/init.d/pe-mcollective restart.
n
On Puppet Open Source, enter /etc/init.d/mcollective restart.
8 On a client machine that has Puppet installed, generate a certificate.
puppet certificate generate Name --ssldir TempCredsDir --ca-location remote --
ca_server CAPuppetMaster
Name is the name of a string for the Application Services certificate corresponding to the Puppet
master. TempCredsDir is a locally created directory in the /tmp folder such
as /tmp/appd_mc/credentials and CAPuppetMaster is the host name or IP address of the Puppet
master.
9 (Optional) On the Puppet master, if the auto-sign for the certificate is not turned on enter the
command sudo puppet cert sign Name.
Using Application Services
VMware, Inc. 67