Forge Home

dynatraceoneagent

This puppet module downloads and installs the dynatrace unified agent on windows, linux and AIX systems

38,017 downloads

7,453 latest version

5.0 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.9.0 (latest)
  • 1.8.0
  • 1.7.0
  • 1.6.0
  • 1.5.0
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.0 (deleted)
released Dec 4th 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • , , , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'dynatrace-dynatraceoneagent', '0.4.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dynatrace-dynatraceoneagent
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dynatrace-dynatraceoneagent --version 0.4.0

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.

Download

Documentation

dynatrace/dynatraceoneagent — version 0.4.0 Dec 4th 2019

Dynatrace OneAgent module for puppet

Description

This module installs the OneAgent on Linux, Windows and AIX Operating Systems

Requirements

Requires puppet/archive

Requires puppet-labs/reboot for Windows reboots

Installation

Available from GitHub (via cloning) or via Puppet forge dynatrace/dynatraceoneagent

Refer to the customize OneAgent installation documentation on Dynatrace Supported Operating Systems

Usage

Default OneAgent install parameters defined in params.pp as a hash map: INFRA_ONLY=0, APP_LOG_CONTENT_ACCESS=1

Sample OneAgent installation using a managed tenant with a specific version. The required version of the OneAgent must be in 1.155.275.20181112-084458 format.

class { 'dynatraceoneagent':
    tenant_url  => 'https://{your-domain}/e/{your-environment-id}',
    paas_token  => '{your-paas-token}',
    version     => '1.181.63.20191105-161318',
}

Sample latest OneAgent version installation using a SAAS tenant

class { 'dynatraceoneagent':
    tenant_url  => 'https://{your-environment-id}.live.dynatrace.com',
    paas_token  => '{your-paas-token}',
}

Advanced configuration

Download to custom directory with additional OneAgent install parameters and reboot server after install should be defined as follows (will override default params):

class { 'dynatraceoneagent':
    tenant_url            => 'https://{your-environment-id}.live.dynatrace.com',
    paas_token            => '{your-paas-token}',
    version               => '1.181.63.20191105-161318',
    download_dir          => 'C:\\Download Dir\\',
    reboot_system         => true,
    oneagent_params_hash  => {
        'INFRA_ONLY'             => '0',
        'APP_LOG_CONTENT_ACCESS' => '1',
        'HOST_GROUP'             => 'PUPPET_WINDOWS',
        'INSTALL_PATH'           => 'C:\Test Directory',
    }
}

For Windows, because download_dir is a string variable, 2 backslashes are required.

Since the oneagent install parameter INSTALL_PATH is defined within a hash map, no escaping is needed for Windows file paths.

For further information on how to handle file paths on Windows, visit Handling file paths on Windows