Move gnocchi::api resource to run with wsgi setup
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 24 Jul 2017 16:22:15 +0000 (19:22 +0300)
committerEmilien Macchi <emilien@redhat.com>
Wed, 26 Jul 2017 03:59:20 +0000 (03:59 +0000)
commitea79aff996dae9e0dcaf756193f3e103e23bab48
treeb66c0c348c62b183fbe236ae547cba781499a5ed
parentbf5eaa2fa243b9f3a1e329ea60ad23e12af41f1c
Move gnocchi::api resource to run with wsgi setup

Having this run in step 4 causes a refresh (restart) for httpd, which
in turn is problematic for the gnocchi db upgrade command, since when
it runs httpd is not available at that point. This fixes the issue,
since the API configuration is now ran at the same time as the wsgi
bits.

Change-Id: Ie0ab389a4450bb940757e34d1964423911885fa3
manifests/profile/base/gnocchi/api.pp