Include mod_wsgi for graphite

If mod_wsgi is not installed, the puppet-graphite module will fail to
start apache because of the WSGI commands in the vhost template. This
patch adds the httpd::mod::wsgi class to take care of it. There is
nothing else in the graphite.openstack.org site.pp node that installs
mod_wsgi so the package resource in the class should not conflict with
anything.

Change-Id: Iaba16663c99a9a3aa6b69ac9b5af6dba22cd3fd2
This commit is contained in:
Colleen Murphy 2015-07-23 18:30:16 -07:00
parent fa747a6175
commit ea59f65f75
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ class graphite(
include ::httpd
include pip
include ::httpd::mod::wsgi
package { $packages:
ensure => present,
}