Puppet Class: ci_agent::params

Overview

Class: ci_agent::params

This class contains the parameters for the oneapm-ci_agent module

Parameters:

$license_key:
    Your OneAPM Cloud Insight LICENSE Key. Please replace with your key value
$ci_url
    The URL to the Cloud Insight server.

Actions:

Requires:

Sample Usage:



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'manifests/params.pp', line 17

class ci_agent::params {
  $conf_dir       = '/etc/oneapm-ci-agent/conf.d'
  $oneapm_ci_user        = 'oneapm-ci-agent'
  $oneapm_ci_group       = 'root'
  $package_name   = 'oneapm-ci-agent'
  $service_name   = 'oneapm-ci-agent'

  case $::operatingsystem {
    'Ubuntu','Debian' : {
      $rubydev_package   =  'ruby-dev'
    }
    'RedHat','CentOS','Fedora','Amazon','Scientific' : {
      $rubydev_package   = 'ruby-devel'
    }
    default: { fail("Class[ci_agent]: Unsupported operatingsystem: ${::operatingsystem}") }
  }

}