123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- class nova::wsgi::apache (
- $servername = $::fqdn,
- $api_port = 8774,
- $bind_host = undef,
- $path = '/',
- $ssl = true,
- $workers = 1,
- $ssl_cert = undef,
- $ssl_key = undef,
- $ssl_chain = undef,
- $ssl_ca = undef,
- $ssl_crl_path = undef,
- $ssl_crl = undef,
- $ssl_certs_dir = undef,
- $wsgi_process_display_name = undef,
- $threads = $::os_workers,
- $priority = '10',
- ) {
- include ::nova::params
- include ::apache
- include ::apache::mod::wsgi
- if $ssl {
- include ::apache::mod::ssl
- }
- if ! defined(Class[::nova::api]) {
- fail('::nova::api class must be declared in composition layer.')
- }
- warning('nova::wsgi::apache is deprecated and will be removed in a future release, please use nova::wsgi::apache_api')
- class { '::nova::wsgi::apache_api':
- servername => $servername,
- api_port => $api_port,
- bind_host => $bind_host,
- path => $path,
- ssl => $ssl,
- workers => $workers,
- ssl_cert => $ssl_cert,
- ssl_key => $ssl_key,
- ssl_chain => $ssl_chain,
- ssl_ca => $ssl_ca,
- ssl_crl_path => $ssl_crl_path,
- ssl_crl => $ssl_crl,
- ssl_certs_dir => $ssl_certs_dir,
- wsgi_process_display_name => $wsgi_process_display_name,
- threads => $threads,
- priority => $priority,
- }
- }
|