c180eeac3f
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>
27 lines
398 B
Puppet
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; }
|
|
|
|
}
|
|
|