Change-Id: I391f6e37585b674eaada09c0a06a5c432e9dba92
This commit is contained in:
ZhongShengping 2017-03-13 20:14:54 +08:00
parent a8983125f8
commit 14bf230d79
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ describe 'ironic::inspector::logging' do
end
shared_examples 'basic default logging settings' do
it 'configures ironic logging settins with default values' do
it 'configures ironic logging settings with default values' do
is_expected.to contain_ironic_inspector_config('DEFAULT/use_syslog').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_ironic_inspector_config('DEFAULT/use_stderr').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_ironic_inspector_config('DEFAULT/log_dir').with(:value => '/var/log/ironic-inspector')
@ -63,7 +63,7 @@ describe 'ironic::inspector::logging' do
end
shared_examples 'basic non-default logging settings' do
it 'configures ironic logging settins with non-default values' do
it 'configures ironic logging settings with non-default values' do
is_expected.to contain_ironic_inspector_config('DEFAULT/use_syslog').with(:value => 'true')
is_expected.to contain_ironic_inspector_config('DEFAULT/use_stderr').with(:value => 'false')
is_expected.to contain_ironic_inspector_config('DEFAULT/syslog_log_facility').with(:value => 'LOG_FOO')

View File

@ -54,7 +54,7 @@ describe 'ironic::logging' do
end
shared_examples 'basic default logging settings' do
it 'configures ironic logging settins with default values' do
it 'configures ironic logging settings with default values' do
is_expected.to contain_ironic_config('DEFAULT/use_syslog').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_ironic_config('DEFAULT/use_stderr').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_ironic_config('DEFAULT/log_dir').with(:value => '/var/log/ironic')
@ -63,7 +63,7 @@ describe 'ironic::logging' do
end
shared_examples 'basic non-default logging settings' do
it 'configures ironic logging settins with non-default values' do
it 'configures ironic logging settings with non-default values' do
is_expected.to contain_ironic_config('DEFAULT/use_syslog').with(:value => 'true')
is_expected.to contain_ironic_config('DEFAULT/use_stderr').with(:value => 'false')
is_expected.to contain_ironic_config('DEFAULT/syslog_log_facility').with(:value => 'LOG_FOO')