Sha256: 358ec5b1bac4378992a9ea2df2133a1497ded9a39481e552daf19ebd0122f2d8

Contents?: true

Size: 808 Bytes

Versions: 11

Compression:

Stored size: 808 Bytes

Contents

class apache::mod::ssl (
  $ssl_compression = false,
  $ssl_options     = [ 'StdEnvVars' ],
) {
  $session_cache = $::osfamily ? {
    'debian'  => '${APACHE_RUN_DIR}/ssl_scache(512000)',
    'redhat'  => '/var/cache/mod_ssl/scache(512000)',
    'freebsd' => '/var/run/ssl_scache(512000)',
  }
  $ssl_mutex = $::osfamily ? {
    'debian'  => 'file:${APACHE_RUN_DIR}/ssl_mutex',
    'redhat'  => 'default',
    'freebsd' => 'default',
  }
  apache::mod { 'ssl': }

  # Template uses $ssl_compression, $ssl_options, $session_cache, $ssl_mutex
  file { 'ssl.conf':
    ensure  => file,
    path    => "${apache::mod_dir}/ssl.conf",
    content => template('apache/mod/ssl.conf.erb'),
    require => Exec["mkdir ${apache::mod_dir}"],
    before  => File[$apache::mod_dir],
    notify  => Service['httpd'],
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/apache/manifests/mod/ssl.pp
freighthop-0.6.0 modules/apache/manifests/mod/ssl.pp
freighthop-0.5.2 modules/apache/manifests/mod/ssl.pp
freighthop-0.5.1 modules/apache/manifests/mod/ssl.pp
freighthop-0.5.0 modules/apache/manifests/mod/ssl.pp
freighthop-0.4.1 modules/apache/manifests/mod/ssl.pp
freighthop-0.4.0 modules/apache/manifests/mod/ssl.pp
freighthop-0.3.3 modules/apache/manifests/mod/ssl.pp
freighthop-0.3.2 modules/apache/manifests/mod/ssl.pp
freighthop-0.3.1 modules/apache/manifests/mod/ssl.pp
freighthop-0.3.0 modules/apache/manifests/mod/ssl.pp