puppet-httpd/manifests/ssl.pp
William Van Hevelingen 05fcec5f9c (#13073) Add missing puppet spec tests
This commit adds full puppet spec coverage
for all classes and defines.
2012-03-16 00:38:53 -07:00

32 lines
610 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":
name => "$apache::params::ssl_package",
ensure => installed,
require => Package['httpd'],
}
}
'ubuntu', 'debian': {
a2mod { "ssl": ensure => present, }
}
}
}