mirror of https://github.com/Icinga/icinga2.git
Vagrant: Restart Apache after installing icinga-web.
This commit is contained in:
parent
e2bd2bcbb7
commit
7965713617
|
@ -86,7 +86,8 @@ package { $icinga2_main_packages:
|
|||
|
||||
package { 'icinga-web':
|
||||
ensure => installed,
|
||||
require => Class['icinga-rpm-snapshot']
|
||||
require => Class['icinga-rpm-snapshot'],
|
||||
notify => Exec['reload-apache']
|
||||
}
|
||||
|
||||
# enable http 80
|
||||
|
|
|
@ -29,4 +29,9 @@ class apache {
|
|||
alias => 'apache',
|
||||
require => Package['apache']
|
||||
}
|
||||
|
||||
exec { 'reload-apache':
|
||||
command => '/etc/init.d/httpd force-reload',
|
||||
refreshonly => true,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue