Ian Wienand 482441c9af Add rake "lint" target, fix errors
Add the rake "lint" target, and fix resulting minor errors, which were:

---
 manifests/mod/python.pp - WARNING: class not documented on line 1
 manifests/mod/wsgi.pp - WARNING: class not documented on line 1
 manifests/vhost.pp - WARNING: variable not enclosed in {} on line 80
 manifests/vhost.pp - WARNING: variable not enclosed in {} on line 82
 manifests/vhost/redirect.pp - WARNING: variable not enclosed in {} on line 43
 manifests/vhost/redirect.pp - WARNING: variable not enclosed in {} on line 45
---

Change-Id: I2213f314d4bf92b4ddf58dbb19a80783380a55ce
2014-11-20 10:56:33 +11:00

28 lines
410 B
Puppet

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