Puppet Class: apache::mod::nss

Defined in:
manifests/mod/nss.pp

Overview

Parameters:

  • transfer_log (Any) (defaults to: "${::apache::params::logroot}/access.log")
  • error_log (Any) (defaults to: "${::apache::params::logroot}/error.log")
  • passwd_file (Any) (defaults to: undef)
  • port (Any) (defaults to: 8443)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/mod/nss.pp', line 1

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::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'],
  }
}