Removed RedHat mentions, since it's not technically supported.
This commit is contained in:
parent
13f0031b30
commit
cf20a52ba0
3 changed files with 9 additions and 9 deletions
|
@ -19,7 +19,7 @@ class icinga2::params {
|
||||||
# Icinga 2 common package parameters
|
# Icinga 2 common package parameters
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
#Red Hat/CentOS systems:
|
#Red Hat/CentOS systems:
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
#Pick the right package provider:
|
#Pick the right package provider:
|
||||||
$package_provider = 'yum'
|
$package_provider = 'yum'
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ class icinga2::params {
|
||||||
#Pick the right package parameters based on the OS:
|
#Pick the right package parameters based on the OS:
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
#Red Hat/CentOS systems:
|
#Red Hat/CentOS systems:
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
#Icinga 2 server package
|
#Icinga 2 server package
|
||||||
$icinga2_server_package = 'icinga2'
|
$icinga2_server_package = 'icinga2'
|
||||||
$icinga2_server_plugin_packages = ["nagios-plugins-nrpe", "nagios-plugins-all", "nagios-plugins-openmanage", "nagios-plugins-check-updates"]
|
$icinga2_server_plugin_packages = ["nagios-plugins-nrpe", "nagios-plugins-all", "nagios-plugins-openmanage", "nagios-plugins-check-updates"]
|
||||||
|
@ -89,7 +89,7 @@ class icinga2::params {
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
#Red Hat/CentOS systems:
|
#Red Hat/CentOS systems:
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
#Settings for /etc/icinga2/:
|
#Settings for /etc/icinga2/:
|
||||||
$etc_icinga2_owner = 'icinga'
|
$etc_icinga2_owner = 'icinga'
|
||||||
$etc_icinga2_group = 'icinga'
|
$etc_icinga2_group = 'icinga'
|
||||||
|
@ -235,7 +235,7 @@ class icinga2::params {
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
#Icinga 2 server daemon names for Red Had/CentOS systems:
|
#Icinga 2 server daemon names for Red Had/CentOS systems:
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
$icinga2_server_service_name = 'icinga2'
|
$icinga2_server_service_name = 'icinga2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ class icinga2::params {
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
#File and template variable names for Red Had/CentOS systems:
|
#File and template variable names for Red Had/CentOS systems:
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
$nrpe_config_basedir = "/etc/nagios"
|
$nrpe_config_basedir = "/etc/nagios"
|
||||||
$nrpe_plugin_libdir = "/usr/lib64/nagios/plugins"
|
$nrpe_plugin_libdir = "/usr/lib64/nagios/plugins"
|
||||||
$nrpe_pid_file_path = "/var/run/nrpe/nrpe.pid"
|
$nrpe_pid_file_path = "/var/run/nrpe/nrpe.pid"
|
||||||
|
@ -289,7 +289,7 @@ class icinga2::params {
|
||||||
# Icinga 2 client package parameters
|
# Icinga 2 client package parameters
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
#Red Hat/CentOS systems:
|
#Red Hat/CentOS systems:
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
#Pick the right list of client packages:
|
#Pick the right list of client packages:
|
||||||
$icinga2_client_packages = ["nrpe", "nagios-plugins-nrpe", "nagios-plugins-all", "nagios-plugins-openmanage", "nagios-plugins-check-updates"]
|
$icinga2_client_packages = ["nrpe", "nagios-plugins-nrpe", "nagios-plugins-all", "nagios-plugins-openmanage", "nagios-plugins-check-updates"]
|
||||||
}
|
}
|
||||||
|
@ -316,7 +316,7 @@ class icinga2::params {
|
||||||
# Icinga 2 client service parameters
|
# Icinga 2 client service parameters
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
#Daemon names for Red Had/CentOS systems:
|
#Daemon names for Red Had/CentOS systems:
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
$nrpe_daemon_name = 'nrpe'
|
$nrpe_daemon_name = 'nrpe'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ class icinga2::server (
|
||||||
|
|
||||||
#Pick set the right path where we can find the DB schema based on the OS...
|
#Pick set the right path where we can find the DB schema based on the OS...
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
#...and database that the user picks
|
#...and database that the user picks
|
||||||
case $server_db_type {
|
case $server_db_type {
|
||||||
'mysql': { $server_db_schema_path = '/usr/share/icinga2-ido-mysql/schema/mysql.sql' }
|
'mysql': { $server_db_schema_path = '/usr/share/icinga2-ido-mysql/schema/mysql.sql' }
|
||||||
|
|
|
@ -33,7 +33,7 @@ class icinga2::server::install::repos inherits icinga2::server {
|
||||||
if $manage_repos == true {
|
if $manage_repos == true {
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
#Red Hat/CentOS systems:
|
#Red Hat/CentOS systems:
|
||||||
'RedHat', 'CentOS': {
|
'CentOS': {
|
||||||
|
|
||||||
#Add the official Icinga Yum repository: http://packages.icinga.org/epel/
|
#Add the official Icinga Yum repository: http://packages.icinga.org/epel/
|
||||||
yumrepo { 'icinga2_yum_repo':
|
yumrepo { 'icinga2_yum_repo':
|
||||||
|
|
Loading…
Reference in a new issue