puppet-httpd/manifests/ssl.pp
Eric Shamow 42c636341f Changes to match style guide and pass puppet-lint without error
No substantive behavior changes - only spacing, line alignment,
quotation, etc.
2012-04-20 21:07:54 -07:00

35 lines
676 B
Puppet

# Class: apache::ssl
#
# This class installs Apache SSL capabilities
#
# Parameters:
# - The $ssl_package name from the apache::params class
#
# Actions:
# - Install Apache SSL capabilities
#
# Requires:
#
# Sample Usage:
#
class apache::ssl {
include apache
case $::operatingsystem {
'centos', 'fedora', 'redhat', 'scientific': {
package { 'apache_ssl_package':
ensure => installed,
name => $apache::params::ssl_package,
require => Package['httpd'],
}
}
'ubuntu', 'debian': {
a2mod { 'ssl': ensure => present, }
}
default: {
fail( "${::operatingsystem} not defined in apache::ssl.")
}
}
}