Sha256: a9fd6ec735841cd8ec41c1f789b784c5730973dcb0dae4ba34dbfe4cdf7d734b

Contents?: true

Size: 912 Bytes

Versions: 22

Compression:

Stored size: 912 Bytes

Contents

class freighthop::web(
  $servers       = $freighthop::params::web_servers,
  $server_name   = $freighthop::params::server_name,
  $ssl           = $freighthop::params::ssl,
  $ssl_cert_path = $freighthop::params::ssl_cert_path,
  $ssl_key_path  = $freighthop::params::ssl_key_path,
) {
  if $ssl {
    class { 'freighthop::web::ssl':
      ssl_cert_path => $ssl_cert_path,
      ssl_key_path  => $ssl_key_path,
      server_name   => $server_name,
    }
  }

  if member($servers, 'nginx') {
    class { 'freighthop::web::nginx':
      ssl           => $ssl,
      ssl_cert_path => $ssl_cert_path,
      ssl_key_path  => $ssl_key_path,
      server_name   => $server_name,
    }
  }
  if member($servers, 'apache') {
    class { 'freighthop::web::apache':
      ssl           => $ssl,
      ssl_cert_path => $ssl_cert_path,
      ssl_key_path  => $ssl_key_path,
      server_name   => $server_name,
    }
  }
}

Version data entries

22 entries across 11 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/freighthop/manifests/web.pp
freighthop-0.6.1 local_modules/freighthop/manifests/web.pp
freighthop-0.6.0 local_modules/freighthop/manifests/web.pp
freighthop-0.6.0 modules/freighthop/manifests/web.pp
freighthop-0.5.2 modules/freighthop/manifests/web.pp
freighthop-0.5.2 local_modules/freighthop/manifests/web.pp
freighthop-0.5.1 modules/freighthop/manifests/web.pp
freighthop-0.5.1 local_modules/freighthop/manifests/web.pp
freighthop-0.5.0 modules/freighthop/manifests/web.pp
freighthop-0.5.0 local_modules/freighthop/manifests/web.pp
freighthop-0.4.1 modules/freighthop/manifests/web.pp
freighthop-0.4.1 local_modules/freighthop/manifests/web.pp
freighthop-0.4.0 modules/freighthop/manifests/web.pp
freighthop-0.4.0 local_modules/freighthop/manifests/web.pp
freighthop-0.3.3 modules/freighthop/manifests/web.pp
freighthop-0.3.3 local_modules/freighthop/manifests/web.pp
freighthop-0.3.2 local_modules/freighthop/manifests/web.pp
freighthop-0.3.2 modules/freighthop/manifests/web.pp
freighthop-0.3.1 modules/freighthop/manifests/web.pp
freighthop-0.3.1 local_modules/freighthop/manifests/web.pp