Sha256: 1e9fb0ce461cb9dc20e1ff8f14084694f90380d4ffb59e012cc3d87f35fbd318

Contents?: true

Size: 695 Bytes

Versions: 11

Compression:

Stored size: 695 Bytes

Contents

class apache::mod::cgid {
  Class['apache::mod::worker'] -> Class['apache::mod::cgid']

  # Debian specifies it's cgid sock path, but RedHat uses the default value
  # with no config file
  $cgisock_path = $::osfamily ? {
    'debian'  => '${APACHE_RUN_DIR}/cgisock',
    'freebsd' => 'cgisock',
    default   => undef,
  }
  apache::mod { 'cgid': }
  if $cgisock_path {
    # Template uses $cgisock_path
    file { 'cgid.conf':
      ensure  => file,
      path    => "${apache::mod_dir}/cgid.conf",
      content => template('apache/mod/cgid.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/cgid.pp
freighthop-0.6.0 modules/apache/manifests/mod/cgid.pp
freighthop-0.5.2 modules/apache/manifests/mod/cgid.pp
freighthop-0.5.1 modules/apache/manifests/mod/cgid.pp
freighthop-0.5.0 modules/apache/manifests/mod/cgid.pp
freighthop-0.4.1 modules/apache/manifests/mod/cgid.pp
freighthop-0.4.0 modules/apache/manifests/mod/cgid.pp
freighthop-0.3.3 modules/apache/manifests/mod/cgid.pp
freighthop-0.3.2 modules/apache/manifests/mod/cgid.pp
freighthop-0.3.1 modules/apache/manifests/mod/cgid.pp
freighthop-0.3.0 modules/apache/manifests/mod/cgid.pp