2014-09-02 16:41:16 +02:00
|
|
|
# Class: icinga2_dev
|
|
|
|
#
|
|
|
|
# This class installs Icinga 2 w/ MySQL and provides Icinga 2 test configuration.
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# icinga2_mysql
|
|
|
|
# icinga2::config
|
2015-02-12 11:11:32 +01:00
|
|
|
# icinga2::feature
|
2014-09-02 16:41:16 +02:00
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
|
|
|
# include icinga2_dev
|
|
|
|
#
|
2014-09-02 12:11:36 +02:00
|
|
|
class icinga2_dev {
|
|
|
|
include icinga2_mysql
|
2014-11-25 16:29:14 +01:00
|
|
|
include icinga2_pgsql
|
2014-09-12 13:23:44 +02:00
|
|
|
include monitoring_plugins
|
|
|
|
include monitoring_test_config
|
2014-08-29 11:43:09 +02:00
|
|
|
|
2014-09-02 13:12:41 +02:00
|
|
|
icinga2::config { [
|
|
|
|
'conf.d/test-config', 'conf.d/commands', 'constants' ]:
|
|
|
|
source => 'puppet:///modules/icinga2_dev',
|
2014-08-29 11:43:09 +02:00
|
|
|
}
|
2015-02-12 11:11:32 +01:00
|
|
|
|
|
|
|
icinga2::feature { 'ido-pgsql':
|
|
|
|
ensure => absent,
|
|
|
|
require => Class['icinga2_pgsql'],
|
|
|
|
}
|
2014-08-29 11:43:09 +02:00
|
|
|
}
|