mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
Revert "Vagrant: Restart Apache after installing icinga-web."
This reverts commit 7965713617cb38d36e6b0cc5e4579c8b482d3e5a.
This commit is contained in:
parent
7965713617
commit
1e3b86a950
@ -86,8 +86,7 @@ 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,9 +29,4 @@ 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