puppet-httpd/manifests/mod/python.pp
Clark Boylan 1609bb6a44 Fix leading :: on class includes to make linter happy
Why this needed to be a linter rule I do not know.

Change-Id: I27ba74c6060c9d2ad09b52bc38090ff9c1f83721
2020-03-05 09:14:07 -08:00

29 lines
497 B
Puppet

# Class: httpd::mod::python
#
# This class installs Python for Apache
# Please use httpd::mod::wsgi for CentOS >= 7 as mod_python is officially deprecated.
#
# 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; }
}