mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 15:14:07 +02:00
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':
|
package { 'icinga-web':
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
require => Class['icinga-rpm-snapshot']
|
require => Class['icinga-rpm-snapshot'],
|
||||||
|
notify => Exec['reload-apache']
|
||||||
}
|
}
|
||||||
|
|
||||||
# enable http 80
|
# enable http 80
|
||||||
|
@ -29,4 +29,9 @@ class apache {
|
|||||||
alias => 'apache',
|
alias => 'apache',
|
||||||
require => Package['apache']
|
require => Package['apache']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec { 'reload-apache':
|
||||||
|
command => '/etc/init.d/httpd force-reload',
|
||||||
|
refreshonly => true,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user