Ensure httpd is not enabled by puppet on system boot
authorGiulio Fidente <gfidente@redhat.com>
Fri, 9 Oct 2015 11:31:14 +0000 (13:31 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 9 Oct 2015 11:31:14 +0000 (13:31 +0200)
The httpd daemon will be started and managed by Pacemaker, it should
not be enabled by puppet. Ideally, it shouldn't be started either
but it seems it isn't possible with horizon and apache mod_wsgi [1].

1. https://bugzilla.redhat.com/show_bug.cgi?id=1247547

Change-Id: I8a1b23c4ea27ac86385314f6cfde8c49d0879969
Co-Authored-By: marios andreou (marios@redhat.com)
puppet/manifests/overcloud_controller_pacemaker.pp

index 0c73dd2..c8a84c9 100644 (file)
@@ -871,7 +871,10 @@ if hiera('step') >= 3 {
 
   # httpd/apache and horizon
   # NOTE(gfidente): server-status can be consumed by the pacemaker resource agent
-  include ::apache
+  class { '::apache' :
+    service_enable => false,
+    # service_manage => false, # <-- not supported with horizon&apache mod_wsgi?
+  }
   include ::apache::mod::status
   if 'cisco_n1kv' in hiera('neutron_mechanism_drivers') {
     $_profile_support = 'cisco'