1 class apache::mod::cgid {
5 Class['::apache::mod::worker'] -> Class['::apache::mod::cgid']
9 # Debian specifies it's cgid sock path, but RedHat uses the default value
11 $cgisock_path = $::osfamily ? {
12 'debian' => "\${APACHE_RUN_DIR}/cgisock",
13 'freebsd' => 'cgisock',
16 ::apache::mod { 'cgid': }
18 # Template uses $cgisock_path
21 path => "${::apache::mod_dir}/cgid.conf",
22 content => template('apache/mod/cgid.conf.erb'),
23 require => Exec["mkdir ${::apache::mod_dir}"],
24 before => File[$::apache::mod_dir],
25 notify => Class['apache::service'],