2010-11-21 16:34:48 -05:00
|
|
|
# Class: apache::python
|
|
|
|
#
|
|
|
|
# This class installs Python for Apache
|
|
|
|
#
|
|
|
|
# Parameters:
|
|
|
|
# - $php_package
|
|
|
|
#
|
|
|
|
# Actions:
|
|
|
|
# - Install Apache Python package
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
|
|
|
class apache::python {
|
2012-04-05 17:04:55 -04:00
|
|
|
include apache::params
|
|
|
|
include apache
|
2010-11-21 16:34:48 -05:00
|
|
|
|
2012-04-05 17:04:55 -04:00
|
|
|
package { 'apache_python_package':
|
2010-11-21 16:34:48 -05:00
|
|
|
ensure => present,
|
2012-04-05 17:04:55 -04:00
|
|
|
name => $apache::params::python_package,
|
2010-11-21 16:34:48 -05:00
|
|
|
}
|
2012-04-05 17:04:55 -04:00
|
|
|
a2mod { 'python': ensure => present, }
|
2010-11-21 16:34:48 -05:00
|
|
|
|
|
|
|
}
|