File: nova_wsgi.pp

package info (click to toggle)
puppet-module-nova 25.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,100 kB
  • sloc: ruby: 11,433; python: 38; sh: 10; makefile: 10
file content (31 lines) | stat: -rw-r--r-- 787 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This manifest documents different use cases when running WSGI in Nova API

# Use Case #1: running Nova API with osapi_compute in WSGI, and metadata
class { 'nova': }
class { 'nova::api':
  admin_password => 'a_big_secret',
  service_name   => 'httpd',
}
include apache
class { 'nova::wsgi::apache':
  ssl => false,
}

# Use Case #2: running Nova API with osapi_compute in WSGI, and metadata disabled
class { 'nova': }
class { 'nova::api':
  admin_password => 'a_big_secret',
  enabled_apis   => ['osapi_compute'],
  service_name   => 'httpd',
}
include apache
class { 'nova::wsgi::apache':
  ssl => false,
}

# Use Case #3: not running osapi_compute, just enabling metadata
class { 'nova': }
class { 'nova::api':
  admin_password => 'a_big_secret',
  enabled_apis   => ['metadata'],
}