
In anticipation of puppet 4, start trying to deal with puppet 4 things that can be helpfully predicted by puppet lint plugins. Also fix errors caught by the puppet-lint-unquoted_string-check and puppet-lint-absolute_classname-check gems. Change-Id: I9d74d25d2f2c95ec52a6db3bf070903240e1b933
27 lines
397 B
Puppet
27 lines
397 B
Puppet
# Class: httpd::mod::wsgi
|
|
#
|
|
# This class installs wsgi for Apache
|
|
#
|
|
# Parameters:
|
|
#
|
|
# Actions:
|
|
# - Install Apache wsgi package
|
|
#
|
|
# Requires:
|
|
#
|
|
# Sample Usage:
|
|
#
|
|
class httpd::mod::wsgi {
|
|
include ::httpd
|
|
|
|
package { 'mod_wsgi_package':
|
|
ensure => installed,
|
|
name => $httpd::params::mod_wsgi_package,
|
|
require => Package['httpd'];
|
|
}
|
|
|
|
httpd_mod { 'wsgi': ensure => present; }
|
|
|
|
}
|
|
|