2013-10-13 17:15:35 +02:00
|
|
|
include apache
|
2014-01-04 13:34:29 +01:00
|
|
|
include icinga2
|
2014-01-04 13:07:30 +01:00
|
|
|
include icinga2-classicui
|
2014-01-04 13:34:29 +01:00
|
|
|
include icinga2-icinga-web
|
2013-10-15 09:36:29 +02:00
|
|
|
include nagios-plugins
|
2013-11-24 17:47:34 +01:00
|
|
|
include nsca-ng
|
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':
|
2013-10-15 10:12:30 +02:00
|
|
|
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/httpd/conf.d/icinga2-doc.conf',
|
2013-10-13 17:15:35 +02:00
|
|
|
require => [ Package['apache'], Package['icinga2-doc'] ],
|
2013-10-15 10:12:30 +02:00
|
|
|
notify => Service['apache']
|
2013-10-13 17:15:35 +02:00
|
|
|
}
|
|
|
|
|
2014-03-04 16:19:28 +01:00
|
|
|
package { [ 'vim-enhanced', 'mailx' ]:
|
|
|
|
ensure => 'installed'
|
|
|
|
}
|
|
|
|
|
2013-10-13 17:15:35 +02:00
|
|
|
file { '/etc/motd':
|
|
|
|
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/motd',
|
2013-10-15 10:12:30 +02:00
|
|
|
owner => root,
|
|
|
|
group => root
|
2013-10-13 17:15:35 +02:00
|
|
|
}
|
2013-12-12 09:04:40 +01:00
|
|
|
|
|
|
|
user { 'vagrant':
|
2013-12-20 09:58:05 +01:00
|
|
|
groups => ['icinga', 'icingacmd'],
|
|
|
|
require => [User['icinga'], Group['icingacmd']]
|
2013-12-12 09:04:40 +01:00
|
|
|
}
|