From b2516674df7e3363b527bf34478f4dcb932c2e58 Mon Sep 17 00:00:00 2001 From: Rajesh Tailor Date: Fri, 17 Jun 2022 23:42:59 +0530 Subject: [PATCH] Fix typos in parameter descriptions and tests Change-Id: I20e1dda110e479e796604991be240021fd51d861 --- manifests/healthcheck.pp | 4 ++-- manifests/keystone/auth.pp | 2 +- manifests/metricd.pp | 6 +++--- manifests/storage/s3.pp | 2 +- manifests/wsgi/apache.pp | 2 +- spec/classes/gnocchi_init_spec.rb | 4 ++-- spec/classes/gnocchi_storage_spec.rb | 2 +- spec/classes/gnocchi_wsgi_apache_spec.rb | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/manifests/healthcheck.pp b/manifests/healthcheck.pp index 80c99cc2..126d23f5 100644 --- a/manifests/healthcheck.pp +++ b/manifests/healthcheck.pp @@ -14,12 +14,12 @@ # Defaults to $::os_service_default # # [*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. # Defaults to $::os_service_default # # [*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. # Defaults to $::os_service_default # diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index a7273f61..eadcf2ff 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -56,7 +56,7 @@ # Defaults to 'gnocchi' # # [*public_url*] -# (0ptional) The endpoint's public url. +# (Optional) The endpoint's public url. # This url should *not* contain any trailing '/'. # Defaults to 'http://127.0.0.1:8041' # diff --git a/manifests/metricd.pp b/manifests/metricd.pp index c2081d8f..3a04cdef 100644 --- a/manifests/metricd.pp +++ b/manifests/metricd.pp @@ -15,16 +15,16 @@ # Defaults to $::os_workers # # [*metric_processing_delay*] -# (optional) Delay between processng metrics +# (optional) Delay between processing metrics # Defaults to $::os_service_default. # # [*greedy*] # (optional) Allow to bypass metric_processing_delay if metricd is noticed # that messages are ready to be processed. -# Defaoults to $::os_service_default. +# Defaults to $::os_service_default. # # [*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. # # [*metric_cleanup_delay*] diff --git a/manifests/storage/s3.pp b/manifests/storage/s3.pp index a264dcdc..325fd85f 100644 --- a/manifests/storage/s3.pp +++ b/manifests/storage/s3.pp @@ -27,7 +27,7 @@ # # [*manage_boto3*] # (optional) Manage boto3 package. -# Defaoutls to true +# Defaults to true # # [*package_ensure*] # (optional) The state of boto3 package. diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp index a299672b..2f0be813 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -83,7 +83,7 @@ # Optional. Defaults to undef. # # [*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. # eg. to use a virtual python environment for the WSGI process # you could set it to: diff --git a/spec/classes/gnocchi_init_spec.rb b/spec/classes/gnocchi_init_spec.rb index aa90e63a..1bd1af3b 100644 --- a/spec/classes/gnocchi_init_spec.rb +++ b/spec/classes/gnocchi_init_spec.rb @@ -36,7 +36,7 @@ describe 'gnocchi' do end end - context 'with overriden parameters' do + context 'with overridden parameters' do let :params do { :purge_config => true, :coordination_url => 'redis://localhost:6379', } @@ -48,7 +48,7 @@ describe 'gnocchi' do }) 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_oslo__coordination('gnocchi_config').with( :backend_url => 'redis://localhost:6379', diff --git a/spec/classes/gnocchi_storage_spec.rb b/spec/classes/gnocchi_storage_spec.rb index 820ec9b0..1a9cf0c8 100644 --- a/spec/classes/gnocchi_storage_spec.rb +++ b/spec/classes/gnocchi_storage_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe 'gnocchi::storage' do shared_examples_for 'gnocchi-storage' do - # Nothong to test + # Nothing to test end on_supported_os({ diff --git a/spec/classes/gnocchi_wsgi_apache_spec.rb b/spec/classes/gnocchi_wsgi_apache_spec.rb index 7ff39a29..ff23a912 100644 --- a/spec/classes/gnocchi_wsgi_apache_spec.rb +++ b/spec/classes/gnocchi_wsgi_apache_spec.rb @@ -25,7 +25,7 @@ describe 'gnocchi::wsgi::apache' do )} end - context 'when overriding paramters using different ports' do + context 'when overriding parameters using different ports' do let :params do { :servername => 'dummy.host',