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.3.0 | modules/freighthop/manifests/web.pp |
freighthop-0.3.0 | local_modules/freighthop/manifests/web.pp |