icinga2/.vagrant-puppet/manifests/default.pp

24 lines
558 B
Puppet
Raw Normal View History

2013-10-13 17:15:35 +02:00
include apache
2013-10-15 09:36:29 +02:00
include icinga-classicui
include icinga-web
include nagios-plugins
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
}
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
}
user { 'vagrant':
groups => 'icingacmd',
require => Group['icingacmd']
}