Puppet Class: dynatrace::role::install_all

Inherits:
dynatrace
Defined in:
manifests/role/install_all.pp

Overview

install_all

Parameters:

  • ensure (Any) (defaults to: 'present')
  • role_name (Any) (defaults to: 'Dynatrace Server componnets installer')
  • installer_bitsize (Any) (defaults to: $dynatrace::server_installer_bitsize)
  • installer_prefix_dir (Any) (defaults to: $dynatrace::server_installer_prefix_dir)
  • installer_file_name (Any) (defaults to: $dynatrace::server_installer_file_name)
  • installer_file_url (Any) (defaults to: $dynatrace::server_installer_file_url)
  • license_file_name (Any) (defaults to: $dynatrace::server_license_file_name)
  • license_file_url (Any) (defaults to: $dynatrace::server_license_file_url)
  • collector_port (Any) (defaults to: $dynatrace::server_collector_port)
  • pwh_connection_hostname (Any) (defaults to: $dynatrace::server_pwh_connection_hostname)
  • pwh_connection_port (Any) (defaults to: $dynatrace::server_pwh_connection_port)
  • pwh_connection_dbms (Any) (defaults to: $dynatrace::server_pwh_connection_dbms)
  • pwh_connection_database (Any) (defaults to: $dynatrace::server_pwh_connection_database)
  • pwh_connection_username (Any) (defaults to: $dynatrace::server_pwh_connection_username)
  • pwh_connection_password (Any) (defaults to: $dynatrace::server_pwh_connection_password)
  • env_var_name (Any) (defaults to: $dynatrace::java_agent_env_var_name)
  • env_var_file_name (Any) (defaults to: $dynatrace::java_agent_env_var_file_name)
  • agent_name (Any) (defaults to: $dynatrace::java_agent_name)
  • hostagent_name (Any) (defaults to: $dynatrace::host_agent_name)
  • host_installer_prefix_dir (Any) (defaults to: $dynatrace::host_agent_installer_prefix_dir)
  • host_installer_file_name (Any) (defaults to: $dynatrace::host_agent_installer_file_name)
  • host_installer_file_url (Any) (defaults to: $dynatrace::host_agent_installer_file_url)
  • host_collector_name (Any) (defaults to: $dynatrace::host_agent_collector_name)
  • dynatrace_owner (Any) (defaults to: $dynatrace::dynatrace_owner)
  • dynatrace_group (Any) (defaults to: $dynatrace::dynatrace_group)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'manifests/role/install_all.pp', line 2

class dynatrace::role::install_all (
  $ensure                  = 'present',
  $role_name               = 'Dynatrace Server componnets installer',
  $installer_bitsize       = $dynatrace::server_installer_bitsize,
  $installer_prefix_dir    = $dynatrace::server_installer_prefix_dir,
  $installer_file_name     = $dynatrace::server_installer_file_name,
  $installer_file_url      = $dynatrace::server_installer_file_url,
  $license_file_name       = $dynatrace::server_license_file_name,
  $license_file_url        = $dynatrace::server_license_file_url,
  $collector_port          = $dynatrace::server_collector_port,

  $pwh_connection_hostname = $dynatrace::server_pwh_connection_hostname,
  $pwh_connection_port     = $dynatrace::server_pwh_connection_port,
  $pwh_connection_dbms     = $dynatrace::server_pwh_connection_dbms,
  $pwh_connection_database = $dynatrace::server_pwh_connection_database,
  $pwh_connection_username = $dynatrace::server_pwh_connection_username,
  $pwh_connection_password = $dynatrace::server_pwh_connection_password,

  # java Agent parameters
  $env_var_name            = $dynatrace::java_agent_env_var_name,
  $env_var_file_name       = $dynatrace::java_agent_env_var_file_name,
  $agent_name              = $dynatrace::java_agent_name,

  # Host Agent parameters
  $hostagent_name             = $dynatrace::host_agent_name,
  $host_installer_prefix_dir = $dynatrace::host_agent_installer_prefix_dir,
  $host_installer_file_name  = $dynatrace::host_agent_installer_file_name,
  $host_installer_file_url   = $dynatrace::host_agent_installer_file_url,
  $host_collector_name       = $dynatrace::host_agent_collector_name,

  $dynatrace_owner         = $dynatrace::dynatrace_owner,
  $dynatrace_group         = $dynatrace::dynatrace_group,

  ) inherits dynatrace {

  validate_re($ensure, ['^present$', '^absent$'])

  # classes will be exeuted in following order: server, server_license, collector, agents_package, wsagent_package, apache_wsagent, java_agent, host agent
  # note that installation order is important for base modules: server, server_license, collector, agents_package
  class { 'dynatrace::role::server':
  }# and then:
  -> class { 'dynatrace::role::server_license':
    license_file_url => $license_file_url,
  }# and then:
  -> class { 'dynatrace::role::collector':
  }# and then:
  -> class { 'dynatrace::role::agents_package':
  }# and then:
  -> class { 'dynatrace::role::wsagent_package':
  }# and then:
  -> class { 'dynatrace::role::apache_wsagent':
  }# and then:
  -> class { 'dynatrace::role::java_agent':
    env_var_name      => $env_var_name,
    env_var_file_name => $env_var_file_name,
    agent_name        => $agent_name,
  }
  -> class { 'dynatrace::role::host_agent':
    host_agent_name           => $hostagent_name,
    host_installer_prefix_dir => $host_installer_prefix_dir,
    host_installer_file_name  => $host_installer_file_name,
    host_installer_file_url   => $host_installer_file_url,
    host_collector_name       => $host_collector_name,
  }
  -> class { 'dynatrace::role::memory_analysis_server':
  }
  -> class { 'dynatrace::role::php_one_agent':
  }
}