dev/provisioning/modules/apache/manifests/mod/fcgid.pp
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     1 class apache::mod::fcgid(
       
     2   $options = {},
       
     3 ) {
       
     4 
       
     5   ::apache::mod { 'fcgid':
       
     6     loadfile_name => 'unixd_fcgid.load',
       
     7   }
       
     8 
       
     9   # Template uses:
       
    10   # - $options
       
    11   file { 'unixd_fcgid.conf':
       
    12     ensure  => file,
       
    13     path    => "${::apache::mod_dir}/unixd_fcgid.conf",
       
    14     content => template('apache/mod/unixd_fcgid.conf.erb'),
       
    15     require => Exec["mkdir ${::apache::mod_dir}"],
       
    16     before  => File[$::apache::mod_dir],
       
    17     notify  => Class['apache::service'],
       
    18   }
       
    19 }