apmserver

pdk
Install and manage Elastic's APM server

Brad Koby

kobybr

8,865 downloads

1,614 latest version

5.0 quality score

Version information

  • 1.0.7 (latest)
  • 1.0.6
  • 1.0.5
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Aug 24th 2020
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
  • Puppet >= 5.4.0 < 7.0.0
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

kobybr/apmserver — version 1.0.7 Aug 24th 2020

Elastic APM server

Build Status Puppet Forge Puppet Forge Downloads Puppet Forge Score Puppet Forge Endorsement GitHub last commit

Usage

To install and manage the apm-server with all default settings:

include '::apmserver'

To install and manage the apm-server with custom settings:

$apmserver_config_custom = {
  'apm-server' => { 'host' => "${::ipaddress}:8200" },
  'output.elasticsearch' => {
    'hosts' => [ '192.168.1.1:9200', '192.168.1.2:9200' ],
    'enabled' => true,
  },
}

class {'::apmserver':
  apmserver_config_custom => $apmserver_config_custom,
}

Example hiera YAML file:

---
apmserver::custom_config:
  apm-server:
    host: 10.1.1.1:8200
  output.elasticsearch:
    hosts:
    - 192.168.1.1:9200
    - 192.168.1.2:9200
    enabled: true
class {'::apmserver':
  apmserver_config_custom => hiera_hash('apmserver::custom_config', {}),
}

Module Parameters

manage_repo Enable repo management by enabling official Elastic repositories.

repo_version The version to be used with elastic_stack for setting repository version.

merge_default_config Merge config settings from the apm-server.yml file provided in the rpm. Default: true

package_ensure Control if the managed package shall be present or absent

package_version To set the specific version you want to install (ex. 6.5.4). Default: latest

package_name Name of the package to install. Default: apm-server

package_config_path Path to the directory in which to install configuration files. Default: '/etc/apm-server'

service_ensure Whether the service should be running. Default: running

service_enable Whether the service should be enabled to start at boot. Default: true

service_name Name of service to manage. Default: apm-server

apmserver_config_custom Custom configuration settings. Default: {}

apmserver_default_config_file Full path to the packages default configuration file. Default: undef

config_owner Parameter to set the owner of the configuration file. Default: undef

config_group Parameter to set the group of the configuration file. Default: undef