Fix typos in parameter descriptions and tests

Change-Id: I20e1dda110e479e796604991be240021fd51d861
This commit is contained in:
Rajesh Tailor 2022-06-17 23:42:59 +05:30
parent 8dd25e5de7
commit b2516674df
8 changed files with 12 additions and 12 deletions

View File

@ -14,12 +14,12 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*disable_by_file_path*] # [*disable_by_file_path*]
# (Optional) Check the presense of a file to determine if an application # (Optional) Check the presence of a file to determine if an application
# is running on a port. # is running on a port.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*disable_by_file_paths*] # [*disable_by_file_paths*]
# (Optional) Check the presense of a file to determine if an application # (Optional) Check the presence of a file to determine if an application
# is running on a port. Expects a "port:path" list of strings. # is running on a port. Expects a "port:path" list of strings.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #

View File

@ -56,7 +56,7 @@
# Defaults to 'gnocchi' # Defaults to 'gnocchi'
# #
# [*public_url*] # [*public_url*]
# (0ptional) The endpoint's public url. # (Optional) The endpoint's public url.
# This url should *not* contain any trailing '/'. # This url should *not* contain any trailing '/'.
# Defaults to 'http://127.0.0.1:8041' # Defaults to 'http://127.0.0.1:8041'
# #

View File

@ -15,16 +15,16 @@
# Defaults to $::os_workers # Defaults to $::os_workers
# #
# [*metric_processing_delay*] # [*metric_processing_delay*]
# (optional) Delay between processng metrics # (optional) Delay between processing metrics
# Defaults to $::os_service_default. # Defaults to $::os_service_default.
# #
# [*greedy*] # [*greedy*]
# (optional) Allow to bypass metric_processing_delay if metricd is noticed # (optional) Allow to bypass metric_processing_delay if metricd is noticed
# that messages are ready to be processed. # that messages are ready to be processed.
# Defaoults to $::os_service_default. # Defaults to $::os_service_default.
# #
# [*metric_reporting_delay*] # [*metric_reporting_delay*]
# (optional) How many seocnds to wait between metric ingestion reporting. # (optional) How many seconds to wait between metric ingestion reporting.
# Defaults to $::os_service_default. # Defaults to $::os_service_default.
# #
# [*metric_cleanup_delay*] # [*metric_cleanup_delay*]

View File

@ -27,7 +27,7 @@
# #
# [*manage_boto3*] # [*manage_boto3*]
# (optional) Manage boto3 package. # (optional) Manage boto3 package.
# Defaoutls to true # Defaults to true
# #
# [*package_ensure*] # [*package_ensure*]
# (optional) The state of boto3 package. # (optional) The state of boto3 package.

View File

@ -83,7 +83,7 @@
# Optional. Defaults to undef. # Optional. Defaults to undef.
# #
# [*custom_wsgi_process_options*] # [*custom_wsgi_process_options*]
# (optional) gives you the oportunity to add custom process options or to # (optional) gives you the opportunity to add custom process options or to
# overwrite the default options for the WSGI main process. # overwrite the default options for the WSGI main process.
# eg. to use a virtual python environment for the WSGI process # eg. to use a virtual python environment for the WSGI process
# you could set it to: # you could set it to:

View File

@ -36,7 +36,7 @@ describe 'gnocchi' do
end end
end end
context 'with overriden parameters' do context 'with overridden parameters' do
let :params do let :params do
{ :purge_config => true, { :purge_config => true,
:coordination_url => 'redis://localhost:6379', } :coordination_url => 'redis://localhost:6379', }
@ -48,7 +48,7 @@ describe 'gnocchi' do
}) })
end end
it 'cnfigures coordination' do it 'configures coordination' do
is_expected.to contain_gnocchi_config('DEFAULT/coordination_url').with_value('redis://localhost:6379') is_expected.to contain_gnocchi_config('DEFAULT/coordination_url').with_value('redis://localhost:6379')
is_expected.to contain_oslo__coordination('gnocchi_config').with( is_expected.to contain_oslo__coordination('gnocchi_config').with(
:backend_url => 'redis://localhost:6379', :backend_url => 'redis://localhost:6379',

View File

@ -3,7 +3,7 @@ require 'spec_helper'
describe 'gnocchi::storage' do describe 'gnocchi::storage' do
shared_examples_for 'gnocchi-storage' do shared_examples_for 'gnocchi-storage' do
# Nothong to test # Nothing to test
end end
on_supported_os({ on_supported_os({

View File

@ -25,7 +25,7 @@ describe 'gnocchi::wsgi::apache' do
)} )}
end end
context 'when overriding paramters using different ports' do context 'when overriding parameters using different ports' do
let :params do let :params do
{ {
:servername => 'dummy.host', :servername => 'dummy.host',