Sha256: 575ad8e64566d2d344f869ed0b0d6693191ace24fab437ae9dfd73d3a7f11c1a

Contents?: true

Size: 454 Bytes

Versions: 11

Compression:

Stored size: 454 Bytes

Contents

class apache::mod::userdir (
  $home = '/home',
  $dir = 'public_html',
  $disable_root = true,
) {
  apache::mod { 'userdir': }

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