Forge Home


Collection of Puppet modules for managing CA Application Performance Management (APM)


7,749 latest version

3.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.3 (latest)
  • 1.0.2
  • 0.1.5
  • 0.1.2
released Jun 4th 2015
This version is compatible with:
  • Puppet Enterprise >= 3.7.0
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'Ecetera-caapm', '1.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add Ecetera-caapm
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install Ecetera-caapm --version 1.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



Ecetera/caapm — version 1.0.3 Jun 4th 2015

#CA Application Performance Management (APM) Module

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Installation and Setup
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module
  6. Release Notes - Notes on the most recent updates to the module

##Overview This CA APM module manages both CA APM Workstation and Enterprise Managers on Windows, Redhat, AIX, and Solaris.

This module does not configure firewall rules. Firewall rules will need to be configured separately in order to allow for correct operation of CA APM components. Additionally, this module does not supply CA APM installation media. Installation media will need to be acquired separately, and the module configured to use it.

Released under the terms of Apache 2 License.

##Module Description The CA APM module manages both the CA APM Workstation and Enterprise Managers. It will use configuration defaults on most occasions but may require some explicit configuration via heira or passed parameters.

The module attempts to make installation and management of a CA APM components through Puppet. It lso provides a means to manage CA APM Enterprise Manager configuration.

Configuration of nodes can also be defined using [Puppet Roles and Profiles] (

##Limitations For supported OS's refer to [CA APM Compatibility Guide] ( and [Puppet Enterprise System Requirements] (

##Installation and Setup To begin using this module, use the Puppet Module Tool (PMT) from the command line to install this module:

puppet module install Ecetera-caapm

This will place the module into your primary module path if you do not utilize the --target-dir directive.

Once the module is in place, there is just a little setup needed.

First, you will need to place your downloaded CA APM installers into the files directory, <module_path>/caapm/files/. The files must be placed according to directory structure example given below.

  The expected directory structure is:

-- caapm
    |-- files
    |   |-- ${version}
    |   |   |-- ca-eula.txt
    |   |   |-- eula.txt
    |   |   |-- introscope${version}linuxAMD64.bin
    |   |   |-- introscope${version}windowsAMD64.exe
    |   |   |-- IntroscopeWorkstation${version}windows.exe
    |   |   |-- osgiPackages.v${version}.unix.tar
    |   |   `-- osgiPackages.v${version}
    |   `-- license
    |       `-- ${ipaddress}.em.lic
    `-- templates
        `-- ${version}
            `-- EnterpriseManager.ResponseFile.txt
            `-- Workstation.ResponseFile.txt

##Beginning with CA APM

To install the CA APM Workstation:

caapm::workstation {'apmws':
  version          => "${version}",
  user_install_dir => "D:/Apps/CA/APM/Introscope${version}/",

To install the CA APM Enterprise Manager (Standalone) with default settings:

caapm::em {'win_standalone':
  version                     => "${version}",
  features                    => 'Enterprise Manager,WebView,Database',
  clusterEM                   => false,
  user_install_dir            => "C:/Ecetera/Introscope${version}/",
  txnTraceDir                 => 'C:/Ecetera/traces',
  smartstor_dir               => 'C:/Ecetera/smartstor',
  threaddump_dir              => 'C:/Ecetera/threaddumps',
  emLaxNlJavaOptionAdditional => '-Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dorg.owasp.esapi.resources=./config/esapi',
  database                    => 'postgres',
  postgres_dir                => 'C:/Ecetera/PostgreSQL/',
  config_em_as_service        => true,
  config_wv_as_service        => true,
  owner                       => 'Administrator',
  group                       => 'Users'

To install the CA APM Database (PostgreSQL) on Windows:

caapm::database { 'apmdb':
  version          => "${version}",
  user_install_dir => "/opt/caapm/Introscope${version}/",
  database         => 'postgres',
  postgres_dir     => '/opt/caapm/PostgreSQL/',
  owner            => 'postgres',
  group            => 'postgres',

To install the CA APM Enterprise Manager as a Collector role:

class { "caapm::role::collector":}

##Basic management

Disable the Introscope Enterprise Manager service:

class { "caapm::em ":}
  ensure => "stopped",


This module was developed for use on *nix puppet master with Windows and Unix puppet agents.

Please log tickets and issues at our Module Issue Tracker.

##Extension management

Planned - modules to allow the deployment of CA APM Extensions and PowerPacks including profiles and configuration

##Agent management

Planned - modules to allow the deployment of CA APM Agents and manage the agent profiles and configuration


Running tests

This project should contain test if not for rspec-puppet so fragile to get going. Any help will be attributed. This project contains tests for rspec-puppet to verify functionality. For in-depth information please see their respective documentation.


gem install bundler
bundle install
bundle exec rake spec

##Copyright and License

Copyright (C) 2015 Raul Dimar / Ecetera

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.