Merge "Stop hard-coding config file for db sync"
This commit is contained in:
commit
cf202a64f5
|
@ -6,10 +6,10 @@
|
||||||
# [*extra_params*]
|
# [*extra_params*]
|
||||||
# (optional) String of extra command line parameters to append
|
# (optional) String of extra command line parameters to append
|
||||||
# to the cloudkitty-storage-init command.
|
# to the cloudkitty-storage-init command.
|
||||||
# Defaults to '--config-file /etc/cloudkitty/cloudkitty.conf'
|
# Defaults to ''
|
||||||
#
|
#
|
||||||
class cloudkitty::storage(
|
class cloudkitty::storage(
|
||||||
$extra_params = '--config-file /etc/cloudkitty/cloudkitty.conf',
|
$extra_params = ''
|
||||||
){
|
){
|
||||||
|
|
||||||
include cloudkitty::deps
|
include cloudkitty::deps
|
||||||
|
|
|
@ -6,7 +6,7 @@ describe 'cloudkitty::storage' do
|
||||||
|
|
||||||
it 'runs cloudkitty-storage-init' do
|
it 'runs cloudkitty-storage-init' do
|
||||||
is_expected.to contain_exec('cloudkitty-storage-init').with(
|
is_expected.to contain_exec('cloudkitty-storage-init').with(
|
||||||
:command => 'cloudkitty-storage-init --config-file /etc/cloudkitty/cloudkitty.conf',
|
:command => 'cloudkitty-storage-init ',
|
||||||
:path => '/usr/bin',
|
:path => '/usr/bin',
|
||||||
:refreshonly => 'true',
|
:refreshonly => 'true',
|
||||||
:user => 'cloudkitty',
|
:user => 'cloudkitty',
|
||||||
|
|
Loading…
Reference in New Issue