From 7d3af77f010fa6c1921ae6b1d4b7fc903f7b62da Mon Sep 17 00:00:00 2001 From: Rajesh Tailor Date: Fri, 17 Jun 2022 19:06:27 +0530 Subject: [PATCH] Fix typos in parameter descriptions and tests Change-Id: Id17358fce48468284f162a6de35840d439871cd5 --- README.md | 2 +- manifests/cache.pp | 6 +++--- manifests/init.pp | 6 +++--- manifests/keystone/auth.pp | 2 +- spec/classes/ceilometer_agent_service_credentials_spec.rb | 2 +- spec/unit/type/ceilometer_config_spec.rb | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c7e0033..026320c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Overview -------- The ceilometer 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 metering service for OpenStack. diff --git a/manifests/cache.pp b/manifests/cache.pp index 4a59fbc..42e9749 100644 --- a/manifests/cache.pp +++ b/manifests/cache.pp @@ -108,7 +108,7 @@ # Defaults to true # # [*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 # @@ -128,7 +128,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 @@ -144,7 +144,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/init.pp b/manifests/init.pp index 2b14337..28a437d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -241,7 +241,7 @@ # Defaults to undef # # [*cache_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 undef # @@ -261,7 +261,7 @@ # # [*cache_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 undef @@ -277,7 +277,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 undef # # [*cache_retry_attempts*] diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index 6a42b7f..559c88a 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -66,7 +66,7 @@ class ceilometer::keystone::auth ( validate_legacy(String, 'validate_string', $password) - # Ceilometer rquires only its user, project, and role assignment. + # Ceilometer requires only its user, project, and role assignment. # service and endpoint should be disabled since ceilometer-api has been removed. keystone::resource::service_identity { 'ceilometer': configure_user => $configure_user, diff --git a/spec/classes/ceilometer_agent_service_credentials_spec.rb b/spec/classes/ceilometer_agent_service_credentials_spec.rb index 141eaaf..5749c6b 100644 --- a/spec/classes/ceilometer_agent_service_credentials_spec.rb +++ b/spec/classes/ceilometer_agent_service_credentials_spec.rb @@ -12,7 +12,7 @@ describe 'ceilometer::agent::service_credentials' do shared_examples_for 'ceilometer::agent::service_credentials' do - context 'wtih default values' do + context 'with default values' do it 'configures authentication' do is_expected.to contain_ceilometer_config('service_credentials/auth_url').with_value('http://localhost:5000') is_expected.to contain_ceilometer_config('service_credentials/region_name').with_value('') diff --git a/spec/unit/type/ceilometer_config_spec.rb b/spec/unit/type/ceilometer_config_spec.rb index be2524f..6a6bd3a 100644 --- a/spec/unit/type/ceilometer_config_spec.rb +++ b/spec/unit/type/ceilometer_config_spec.rb @@ -51,7 +51,7 @@ describe 'Puppet::Type.type(:ceilometer_config)' do }.to raise_error(Puppet::Error, /Invalid value/) end - it 'should autorequire the pachage that install the file' do + it 'should autorequire the package that install the file' do catalog = Puppet::Resource::Catalog.new anchor = Puppet::Type.type(:anchor).new(:name => 'ceilometer::install::end') catalog.add_resource anchor, @ceilometer_config -- 2.45.2