Use database_connection from neutron::db class

Deprecated neutron::server::database_connection is
removed with [1], let's use recommended class for it.

[1] https://review.opendev.org/#/c/737497

Change-Id: I70e84890246a7ff8bb29218c0628480b5e91a024
This commit is contained in:
yatinkarel 2020-07-17 12:00:42 +05:30
parent f3da06bd5e
commit 2f3a71ff4f
1 changed files with 4 additions and 1 deletions

View File

@ -18,8 +18,11 @@ class packstack::neutron::api ()
project_name => 'services',
}
class { '::neutron::server':
class { 'neutron::db':
database_connection => $neutron_sql_connection,
}
class { '::neutron::server':
sync_db => true,
enabled => true,
api_workers => hiera('CONFIG_SERVICE_WORKERS'),