[icinga-checkins] icinga.org: icinga-vagrant/master: icinga2x-graylog2: Fix httpd startup

git at icinga.org git at icinga.org
Mon Nov 17 17:52:00 CET 2014


Module: icinga-vagrant
Branch: master
Commit: 293104a01cca378beddf42adbed87ac0abc092b8
URL:    https://git.icinga.org/?p=icinga-vagrant.git;a=commit;h=293104a01cca378beddf42adbed87ac0abc092b8

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Nov 17 17:51:44 2014 +0100

icinga2x-graylog2: Fix httpd startup

---

 icinga2x-graylog2/manifests/default.pp |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/icinga2x-graylog2/manifests/default.pp b/icinga2x-graylog2/manifests/default.pp
index 83748f4..6bf8cf5 100644
--- a/icinga2x-graylog2/manifests/default.pp
+++ b/icinga2x-graylog2/manifests/default.pp
@@ -165,9 +165,11 @@ file { '/usr/lib/nagios/plugins/check-graylog-stream':
 
 package { 'httpd':
   ensure => installed
-} ->
+}
 service { 'httpd':
-  ensure => running
+  enable => true,
+  ensure => running,
+  require => Package['httpd']
 }
 
 package { 'icinga2-classicui-config':



More information about the icinga-checkins mailing list