puppet-httpd/manifests/mod/wsgi.pp
Bruno Tavares c180eeac3f Use httpd::mod when adding Apache modules.
Replace usage of httpd_mod with the httpd::mod wrapper to allow classes
to be applied as well on RedHat systems and have the httpd service
ordering fixed.

Change-Id: If790efd7b465e77c2eca7710f79e563d69ee3783
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
2015-09-28 14:50:03 -03:00

27 lines
398 B
Puppet

# Class: httpd::mod::wsgi
#
# This class installs wsgi for Apache
#
# Parameters:
#
# Actions:
# - Install Apache wsgi package
#
# Requires:
#
# Sample Usage:
#
class httpd::mod::wsgi {
include ::httpd
package { 'mod_wsgi_package':
ensure => installed,
name => $httpd::params::mod_wsgi_package,
require => Package['httpd'];
}
httpd::mod { 'wsgi': ensure => present; }
}