From 71e5b167769735bed64927a72b9a12742b3275d0 Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Tue, 19 Jul 2016 16:42:30 +1000 Subject: [PATCH] Add listen ports to cacti The apache puppet module determines what ports to listen to by using provided ports from calls to apache::vhost. Before Ib282dd506a5086cfca5c8400bf27cca10099f59d the default vhost would cause apache to listen on 80+443. Since we use a custom vhost template we either need to add the listen directive there (not preferred) or instruct puppet-apache to manage its ports.conf. Change-Id: I84760c1d7e823a34f6253c80022134ec568a0468 --- modules/openstack_project/manifests/cacti.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/openstack_project/manifests/cacti.pp b/modules/openstack_project/manifests/cacti.pp index 797e369211..36f6c445a9 100644 --- a/modules/openstack_project/manifests/cacti.pp +++ b/modules/openstack_project/manifests/cacti.pp @@ -25,6 +25,9 @@ class openstack_project::cacti ( ensure => present, } + ::apache::listen { '80': } + ::apache::listen { '443': } + ::apache::vhost::custom { $::fqdn: ensure => present, content => template('openstack_project/cacti.vhost.erb'),