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

28 lines
413 B
Puppet

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