From 82809e909572218a67ecd7d927fce2e669e3b7b6 Mon Sep 17 00:00:00 2001 From: Rajesh Tailor Date: Sun, 19 Jun 2022 12:10:48 +0530 Subject: [PATCH] Fix typos in parameter descriptions and tests Change-Id: I4b368e030e207beabb1d69b9c5079d34aa494856 --- README.md | 2 +- manifests/cache.pp | 8 ++++---- manifests/healthcheck.pp | 4 ++-- manifests/init.pp | 4 ++-- manifests/logging.pp | 2 +- manifests/wsgi/apache.pp | 2 +- manifests/wsgi/apache_api.pp | 2 +- manifests/wsgi/apache_api_cfn.pp | 2 +- spec/classes/heat_db_mysql_spec.rb | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 88517a3a..3f0a9c06 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Overview -------- The heat module is part of [OpenStack](https://opendev.org/openstack), an effort by the -OpenStack infrastructure team to provice continuous integration testing and code review for +OpenStack infrastructure team to provide continuous integration testing and code review for OpenStack and OpenStack community projects as part of the core software. The module itself is used to flexibly configure and manage the orchestration service for OpenStack. diff --git a/manifests/cache.pp b/manifests/cache.pp index 9941dd1f..45e0b742 100644 --- a/manifests/cache.pp +++ b/manifests/cache.pp @@ -122,7 +122,7 @@ # Defaults to $::os_service_default # # [*service_extension_expiration_time*] -# (Optional) TTL, in seconds, for caching in service extention. +# (Optional) TTL, in seconds, for caching in service extension. # Defaults to $::os_service_default # # [*resource_finder_caching*] @@ -135,7 +135,7 @@ # Defaults to $::os_service_default # # [*tls_enabled*] -# (Optional) Global toggle for TLS usage when comunicating with +# (Optional) Global toggle for TLS usage when communicating with # the caching servers. # Default to $::os_service_default # @@ -155,7 +155,7 @@ # # [*tls_keyfile*] # (Optional) Path to a single file containing the client's private -# key in. Otherwhise the private key will be taken from the file +# key in. Otherwise the private key will be taken from the file # specified in tls_certfile. If tls_enabled is False, this option # is ignored. # Default to $::os_service_default @@ -171,7 +171,7 @@ # (Optional) Enable retry client mechanisms to handle failure. # Those mechanisms can be used to wrap all kind of pymemcache # clients. The wrapper allows you to define how many attempts -# to make and how long to wait between attemots. +# to make and how long to wait between attempts. # Default to $::os_service_default # # [*retry_attempts*] diff --git a/manifests/healthcheck.pp b/manifests/healthcheck.pp index 68a498b3..fa10738a 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/init.pp b/manifests/init.pp index c9a1a6f4..12074d51 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -88,7 +88,7 @@ # # [*kombu_compression*] # (optional) Possible values are: gzip, bz2. If not set compression will not -# be used. This option may notbe available in future versions. EXPERIMENTAL. +# be used. This option may not be available in future versions. EXPERIMENTAL. # (string value) # Defaults to $::os_service_default # @@ -355,7 +355,7 @@ class heat( } if !defined(Class[heat::trustee]) { - warning('The heat:trustee class will be required to set trustee opiton in a future release') + warning('The heat:trustee class will be required to set trustee option in a future release') include heat::trustee } # TODO(tkajinam): Remove this when we remove the above logic diff --git a/manifests/logging.pp b/manifests/logging.pp index 5cbc5218..819a0d44 100644 --- a/manifests/logging.pp +++ b/manifests/logging.pp @@ -69,7 +69,7 @@ # See https://docs.python.org/2/howto/logging.html # # [*default_log_levels*] -# (0ptional) Hash of logger (keys) and level (values) pairs. +# (Optional) Hash of logger (keys) and level (values) pairs. # Defaults to $::os_service_default. # Example: # {'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN', diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp index 3f3b85ea..e23a5ac1 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -82,7 +82,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/manifests/wsgi/apache_api.pp b/manifests/wsgi/apache_api.pp index c7f034fc..7a4dc481 100644 --- a/manifests/wsgi/apache_api.pp +++ b/manifests/wsgi/apache_api.pp @@ -74,7 +74,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/manifests/wsgi/apache_api_cfn.pp b/manifests/wsgi/apache_api_cfn.pp index 6f6ca9ef..1ee614f8 100644 --- a/manifests/wsgi/apache_api_cfn.pp +++ b/manifests/wsgi/apache_api_cfn.pp @@ -74,7 +74,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/heat_db_mysql_spec.rb b/spec/classes/heat_db_mysql_spec.rb index 043ef0e5..f432975c 100644 --- a/spec/classes/heat_db_mysql_spec.rb +++ b/spec/classes/heat_db_mysql_spec.rb @@ -15,7 +15,7 @@ describe 'heat::db::mysql' do shared_examples_for 'heat mysql database' do it { is_expected.to contain_class('heat::deps') } - context 'when omiting the required parameter password' do + context 'when omitting the required parameter password' do before { params.delete(:password) } it { expect { is_expected.to raise_error(Puppet::Error) } } end