Puppet Class: apache::mod::nss

Defined in:
manifests/mod/nss.pp

Summary

Installs and configures `mod_nss`.

Overview

Parameters:

  • transfer_log (Any) (defaults to: "${::apache::params::logroot}/access.log")

    Path to ‘access.log`.

  • error_Log

    Path to ‘error.log`

  • passwd_file (Any) (defaults to: undef)

    Path to file containing token passwords used for NSSPassPhraseDialog.

  • port (Any) (defaults to: 8443)

    Sets the SSL port that should be used by mod_nss.

  • error_log (Any) (defaults to: "${::apache::params::logroot}/error.log")

See Also:



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'manifests/mod/nss.pp', line 18

class apache::mod::nss (
  $transfer_log = "${::apache::params::logroot}/access.log",
  $error_log    = "${::apache::params::logroot}/error.log",
  $passwd_file  = undef,
  $port     = 8443,
) {
  include ::apache
  include ::apache::mod::mime

  apache::mod { 'nss': }

  $httpd_dir = $::apache::httpd_dir

  # Template uses:
  # $transfer_log
  # $error_log
  # $http_dir
  # passwd_file
  file { 'nss.conf':
    ensure  => file,
    path    => "${::apache::mod_dir}/nss.conf",
    mode    => $::apache::file_mode,
    content => template('apache/mod/nss.conf.erb'),
    require => Exec["mkdir ${::apache::mod_dir}"],
    before  => File[$::apache::mod_dir],
    notify  => Class['apache::service'],
  }
}