30 lines
519 B
Puppet
30 lines
519 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': {
|
|
package { $apache::params::ssl_package:
|
|
require => Package['httpd'],
|
|
}
|
|
}
|
|
'ubuntu', 'debian': {
|
|
a2mod { "ssl": ensure => present, }
|
|
}
|
|
}
|
|
}
|