
This renames the classes and defined types from apache to httpd. With the 'httpd' module available, we can migrate usage of 'apache' to 'httpd.' Eventually this will free the 'apache' namespace. A native ruby type and provider is contained in this class. It is not namespaced to the class name so it has been renamed from a2mod to httpd_mod. Change-Id: I056eb28a13e7ccc95f1496019bedc332c17dd458
28 lines
410 B
Puppet
28 lines
410 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; }
|
|
|
|
}
|
|
|
|
|