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

29 lines
666 B
Puppet
Raw Normal View History

2013-10-13 17:15:35 +02:00
include apache
include icinga2
include icinga2-classicui
include icinga2-icinga-web
2013-10-15 09:36:29 +02:00
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
}
2014-03-13 13:35:06 +01:00
package { 'vim-enhanced':
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
}
user { 'vagrant':
2013-12-20 09:58:05 +01:00
groups => ['icinga', 'icingacmd'],
require => [User['icinga'], Group['icingacmd']]
}