Puppet Class: icingaweb2::globals

Defined in:
manifests/globals.pp

Summary

This class loads the default parameters by doing a hiera lookup.

Overview

Note:

This parameters depend on the os plattform. Changes maybe will break the functional capability of the supported plattforms and versions. Please only do changes when you know what you’re doing.

Parameters:

  • package_name (String)

    Package to install.

  • conf_dir (Stdlib::Absolutepath)

    Path to the config files.

  • data_dir (Stdlib::Absolutepath)

    Location of PHP data files.

  • role_replace (Boolean)

    Specifies whether to overwrite the roles.ini file if it already exists.

  • comp_db_schema_dir (Stdlib::Absolutepath)

    For compatibility, since in Icinga Web 2 2.11.4 the schema files have been moved.

  • default_module_path (Stdlib::Absolutepath)

    Location of the modules.

  • mysql_db_schema (Stdlib::Absolutepath)

    Location of the database schema for MySQL/MariaDB.

  • pgsql_db_schema (Stdlib::Absolutepath)

    Location of the database schema for PostgreSQL.

  • mysql_vspheredb_schema (Stdlib::Absolutepath)

    Location of the vspheredb database schema for MySQL/MariaDB.

  • pgsql_vspheredb_schema (Stdlib::Absolutepath)

    Location of the vspheredb database schema for PostgreSQL.

  • mysql_reporting_schema (Stdlib::Absolutepath)

    Location of the reporting database schema for MySQL/MariaDB.

  • pgsql_reporting_schema (Stdlib::Absolutepath)

    Location of the reporting database schema for PostgreSQL.

  • mysql_idoreports_slaperiods (Stdlib::Absolutepath)

    Location of the slaperiods database extension for MySQL.

  • mysql_idoreports_sla_percent (Stdlib::Absolutepath)

    Location of the get_sla_ok_percent database extension for MySQL.

  • pgsql_idoreports_slaperiods (Stdlib::Absolutepath)

    Location of the slaperiods database extension for PostgreSQL.

  • pgsql_idoreports_sla_percent (Stdlib::Absolutepath)

    Location of the get_sla_ok_percent database extension for PostgreSQL.

  • mysql_x509_schema (Stdlib::Absolutepath)

    Location of the x509 database schema for MySQL/MariaDB.

  • pgsql_x509_schema (Stdlib::Absolutepath)

    Location of the x509 database schema for PostgreSQL.

  • gettext_package_name (String)

    Package name ‘gettext` tool belongs to.

  • icingacli_bin (Stdlib::Absolutepath)

    Path to ‘icingacli’ comand line tool.



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'manifests/globals.pp', line 66

class icingaweb2::globals (
  String                 $package_name,
  Stdlib::Absolutepath   $conf_dir,
  Stdlib::Absolutepath   $data_dir,
  Boolean                $role_replace,
  Stdlib::Absolutepath   $comp_db_schema_dir,
  Stdlib::Absolutepath   $default_module_path,
  Stdlib::Absolutepath   $mysql_db_schema,
  Stdlib::Absolutepath   $pgsql_db_schema,
  Stdlib::Absolutepath   $mysql_vspheredb_schema,
  Stdlib::Absolutepath   $pgsql_vspheredb_schema,
  Stdlib::Absolutepath   $mysql_reporting_schema,
  Stdlib::Absolutepath   $pgsql_reporting_schema,
  Stdlib::Absolutepath   $mysql_idoreports_slaperiods,
  Stdlib::Absolutepath   $mysql_idoreports_sla_percent,
  Stdlib::Absolutepath   $pgsql_idoreports_slaperiods,
  Stdlib::Absolutepath   $pgsql_idoreports_sla_percent,
  Stdlib::Absolutepath   $mysql_x509_schema,
  Stdlib::Absolutepath   $pgsql_x509_schema,
  String                 $gettext_package_name,
  Stdlib::Absolutepath   $icingacli_bin,
) {
  $port = {
    'mysql' => 3306,
    'pgsql' => 5432,
  }
}