Sha256: 7fc7d582029e741576e4e7924c9ccf554ba8ea796c44bfa8d40c1672c0142398

Contents?: true

Size: 511 Bytes

Versions: 11

Compression:

Stored size: 511 Bytes

Contents

class apache::mod::wsgi (
  $wsgi_socket_prefix = undef,
  $wsgi_python_path   = undef,
  $wsgi_python_home   = undef,
){
  apache::mod { 'wsgi': }

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