Merge "Move gnocchi::api resource to run with wsgi setup"
This commit is contained in:
commit
ab81679785
|
@ -94,6 +94,7 @@ class tripleo::profile::base::gnocchi::api (
|
||||||
}
|
}
|
||||||
|
|
||||||
if $step >= 4 or ($step >= 3 and $sync_db) {
|
if $step >= 4 or ($step >= 3 and $sync_db) {
|
||||||
|
include ::gnocchi::api
|
||||||
include ::apache::mod::ssl
|
include ::apache::mod::ssl
|
||||||
class { '::gnocchi::wsgi::apache':
|
class { '::gnocchi::wsgi::apache':
|
||||||
ssl_cert => $tls_certfile,
|
ssl_cert => $tls_certfile,
|
||||||
|
@ -124,7 +125,6 @@ class tripleo::profile::base::gnocchi::api (
|
||||||
'rbd': { include ::gnocchi::storage::ceph }
|
'rbd': { include ::gnocchi::storage::ceph }
|
||||||
default: { fail('Unrecognized gnocchi_backend parameter.') }
|
default: { fail('Unrecognized gnocchi_backend parameter.') }
|
||||||
}
|
}
|
||||||
include ::gnocchi::api
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue