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

45 lines
1016 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
####################################
# Start page at http://localhost/
####################################
file { '/var/www/html/index.html':
source => 'puppet:////vagrant/.vagrant-puppet/files/var/www/html/index.html',
owner => 'apache',
group => 'apache',
require => Package['apache']
2013-10-13 17:15:35 +02:00
}
file { '/var/www/html/icinga_wall.png':
source => 'puppet:////vagrant/.vagrant-puppet/files/var/www/html/icinga_wall.png',
owner => 'apache',
group => 'apache',
require => Package['apache']
}
####################################
# Misc
####################################
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']]
}