icinga2/.vagrant-puppet/modules/icinga2-classicui/manifests/init.pp

41 lines
827 B
Puppet
Raw Normal View History

class icinga2-classicui {
2013-10-15 09:36:29 +02:00
include icinga-rpm-snapshot
2013-10-16 08:25:11 +02:00
include icinga2
2013-10-15 09:36:29 +02:00
# workaround for package conflicts
# icinga-gui pulls icinga-gui-config automatically
package { 'icinga2-classicui-config':
ensure => installed,
before => Package["icinga-gui"],
require => Class['icinga-rpm-snapshot'],
notify => Service['apache']
}
package { 'icinga-gui':
ensure => installed,
2013-10-15 10:12:30 +02:00
alias => 'icinga-gui'
2013-10-15 09:36:29 +02:00
}
# runtime users
group { 'icingacmd':
ensure => present
}
user { 'icinga':
ensure => present,
groups => 'icingacmd',
managehome => false
}
user { 'apache':
groups => ['icingacmd', 'vagrant'],
require => [ Class['apache'], Group['icingacmd'] ]
}
icinga2::feature { 'statusdata': }
2013-10-16 08:25:11 +02:00
icinga2::feature { 'command': }
icinga2::feature { 'compatlog': }
2013-10-15 09:36:29 +02:00
}