puppet-nova/examples/nova_wsgi.pp
Tobias Urdin 7deecfbdf2 Convert all class usage to relative names
Change-Id: Ibe5a433cb67c38c0c9b05a50bffa2eda7391f241
2019-12-08 23:13:08 +01:00

32 lines
787 B
Puppet

# 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'],
}