Sha256: 5a65f8ffe7eef176228e6dadc6a6cb2c675a34a0d1c413267c5cf897e9093be2

Contents?: true

Size: 587 Bytes

Versions: 11

Compression:

Stored size: 587 Bytes

Contents

class apache::mod::dav_fs {
  $dav_lock = $::osfamily ? {
    'debian'  => '${APACHE_LOCK_DIR}/DAVLock',
    'freebsd' => '/usr/local/var/DavLock',
    default   => '/var/lib/dav/lockdb',
  }

  Class['apache::mod::dav'] -> Class['apache::mod::dav_fs']
  apache::mod { 'dav_fs': }

  # Template uses: $dav_lock
  file { 'dav_fs.conf':
    ensure  => file,
    path    => "${apache::mod_dir}/dav_fs.conf",
    content => template('apache/mod/dav_fs.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/dav_fs.pp
freighthop-0.6.0 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.5.2 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.5.1 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.5.0 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.4.1 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.4.0 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.3.3 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.3.2 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.3.1 modules/apache/manifests/mod/dav_fs.pp
freighthop-0.3.0 modules/apache/manifests/mod/dav_fs.pp