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