Merge "Stop hard-coding config file for db sync"

This commit is contained in:
Zuul 2024-03-08 17:42:26 +00:00 committed by Gerrit Code Review
commit 4f919dffcc
10 changed files with 10 additions and 10 deletions

View File

@ -70,7 +70,7 @@ class neutron::services::bgpvpn (
if $sync_db {
exec { 'bgpvpn-db-sync':
command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject networking-bgpvpn upgrade head',
command => 'neutron-db-manage --subproject networking-bgpvpn upgrade head',
path => '/usr/bin',
user => $::neutron::params::user,
subscribe => [

View File

@ -85,7 +85,7 @@ class neutron::services::l2gw (
if $sync_db {
exec { 'l2gw-db-sync':
command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject networking-l2gw upgrade head',
command => 'neutron-db-manage --subproject networking-l2gw upgrade head',
path => '/usr/bin',
user => $::neutron::params::user,
subscribe => [

View File

@ -70,7 +70,7 @@ class neutron::services::sfc (
if $sync_db {
exec { 'sfc-db-sync':
command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject networking-sfc upgrade head',
command => 'neutron-db-manage --subproject networking-sfc upgrade head',
path => '/usr/bin',
user => $::neutron::params::user,
subscribe => [

View File

@ -65,7 +65,7 @@ class neutron::services::taas (
if $sync_db {
exec { 'taas-db-sync':
command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject tap-as-a-service upgrade head',
command => 'neutron-db-manage --subproject tap-as-a-service upgrade head',
path => '/usr/bin',
user => $::neutron::params::user,
subscribe => [

View File

@ -53,7 +53,7 @@ class neutron::services::vpnaas (
if $sync_db {
exec { 'vpnaas-db-sync':
command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject neutron-vpnaas upgrade head',
command => 'neutron-db-manage --subproject neutron-vpnaas upgrade head',
path => '/usr/bin',
user => $::neutron::params::user,
subscribe => [

View File

@ -49,7 +49,7 @@ describe 'neutron::services::bgpvpn' do
it 'runs neutron-db-manage' do
should contain_exec('bgpvpn-db-sync').with(
:command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject networking-bgpvpn upgrade head',
:command => 'neutron-db-manage --subproject networking-bgpvpn upgrade head',
:path => '/usr/bin',
:user => 'neutron',
:subscribe => ['Anchor[neutron::install::end]',

View File

@ -74,7 +74,7 @@ describe 'neutron::services::l2gw' do
it 'runs neutron-db-manage' do
should contain_exec('l2gw-db-sync').with(
:command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject networking-l2gw upgrade head',
:command => 'neutron-db-manage --subproject networking-l2gw upgrade head',
:path => '/usr/bin',
:user => 'neutron',
:subscribe => ['Anchor[neutron::install::end]',

View File

@ -45,7 +45,7 @@ describe 'neutron::services::sfc' do
it 'runs neutron-db-manage' do
should contain_exec('sfc-db-sync').with(
:command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject networking-sfc upgrade head',
:command => 'neutron-db-manage --subproject networking-sfc upgrade head',
:path => '/usr/bin',
:user => 'neutron',
:subscribe => ['Anchor[neutron::install::end]',

View File

@ -48,7 +48,7 @@ describe 'neutron::services::taas' do
it 'runs neutron-db-manage' do
should contain_exec('taas-db-sync').with(
:command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject tap-as-a-service upgrade head',
:command => 'neutron-db-manage --subproject tap-as-a-service upgrade head',
:path => '/usr/bin',
:user => 'neutron',
:subscribe => ['Anchor[neutron::install::end]',

View File

@ -33,7 +33,7 @@ describe 'neutron::services::vpnaas' do
it 'runs neutron-db-manage' do
should contain_exec('vpnaas-db-sync').with(
:command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject neutron-vpnaas upgrade head',
:command => 'neutron-db-manage --subproject neutron-vpnaas upgrade head',
:path => '/usr/bin',
:user => 'neutron',
:subscribe => ['Anchor[neutron::install::end]',