2013-10-13 17:15:35 +02:00
|
|
|
include apache
|
|
|
|
include mysql
|
2013-10-13 19:20:43 +02:00
|
|
|
# enable when icinga2-ido-pgsql is ready
|
|
|
|
#include pgsql
|
2013-10-13 17:15:35 +02:00
|
|
|
include epel
|
2013-10-15 09:36:29 +02:00
|
|
|
include icinga-classicui
|
|
|
|
include icinga2
|
|
|
|
include icinga-web
|
|
|
|
include nagios-plugins
|
2013-10-13 17:15:35 +02:00
|
|
|
|
2013-10-13 19:20:43 +02:00
|
|
|
# icinga 2 docs at /icinga2-doc
|
2013-10-13 17:15:35 +02:00
|
|
|
file { '/etc/httpd/conf.d/icinga2-doc.conf':
|
|
|
|
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/httpd/conf.d/icinga2-doc.conf',
|
|
|
|
require => [ Package['apache'], Package['icinga2-doc'] ],
|
|
|
|
notify => Service['apache']
|
|
|
|
}
|
|
|
|
|
|
|
|
file { '/etc/motd':
|
|
|
|
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/motd',
|
|
|
|
owner => root,
|
|
|
|
group => root
|
|
|
|
}
|