Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on
10-26-2020
02:48 PM
- edited on
10-29-2020
01:06 PM
by
Claudia.Landiva
Every deployment is different, so this task doesn't lend itself to one all-inclusive Puppet script maintained by AppDynamics. However, the attached sample script can help you get started on your own Puppet module.
This sample script is intended for a Linux/Tomcat deployment. The script is relatively straightforward, and is intended to serve as a rough framework for building a script appropriate for your specific environment. Definitely edit it as appropriate for your environment and test out your config!
If you haven't used Puppet before, we recommend running through the first two sections of the Puppet Quick Start Guide.
java_agent.zip
file needs to be unzipped into the prospect's Puppet modules directory (/etc/puppet/environments/production/modules/
by default). /manifests
contains the main Puppet script, init.pp
/templates
contains the catalina.sh
template file (see lines 236-238) for how the init.pp
variables are inserted. /files
contains the AppServerAgent.zip —
Replace this with the version of AppServerAgent.zip
that you'd like to deploy /tests
is not used for this module init.pp
you see the list of variables used for the deployment. You need to set these as appropriate for the target system. catalina.sh
, you may want to inherit that template file or you may need to get more creative. A simple line replace should suffice.This doc needs to be updated. The links show 'page not found' on the puppet site --
https://docs.puppetlabs.com/pe/latest/quick_start.html
https://docs.puppetlabs.com/learning/variables.html
Thank you, @Aaron.Jacobs. I'll look into it and post resolution here.
The article has been revised with updated links and minor structural and formatting changes meant to improve usability.
Claudia Landivar
Community Manager & Editor, Knowledge Base
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form