]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Fix typos in parameter descriptions and tests
authorRajesh Tailor <ratailor@redhat.com>
Fri, 17 Jun 2022 13:36:27 +0000 (19:06 +0530)
committerRajesh Tailor <ratailor@redhat.com>
Fri, 17 Jun 2022 13:37:22 +0000 (19:07 +0530)
Change-Id: Id17358fce48468284f162a6de35840d439871cd5

README.md
manifests/cache.pp
manifests/init.pp
manifests/keystone/auth.pp
spec/classes/ceilometer_agent_service_credentials_spec.rb
spec/unit/type/ceilometer_config_spec.rb

index c7e00335742480985b08bbc8729e1525fd39a1d5..026320c9790dfc7e880f000cd9cfb2f38dd0270e 100644 (file)
--- 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.
 
index 4a59fbc0d529f269812693a9bd70baaccea02e3b..42e97494f5de658dbd28f281f872fa2d2e2bf1ca 100644 (file)
 #   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
 #
 #
 # [*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
 #   (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*]
index 2b143376dee1b0df31b3b9c492ff3ab838a5822c..28a437ddbfdb95b528f5394d85494fb08a8bf0db 100644 (file)
 #   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
 #
 #
 # [*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
 #   (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*]
index 6a42b7fa7c91dc38da4ef2096599633a364151e9..559c88a0a044b871c8786ed9d77dc5c02de14803 100644 (file)
@@ -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,
index 141eaaf3fb89eccea555e12fe761f5302558b385..5749c6b196b20cfb1b5141a969eff6ee7416680d 100644 (file)
@@ -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('<SERVICE DEFAULT>')
index be2524fe5f2e695f21a399daf3fe7af67a2117ad..6a6bd3a7d58d01b8b714ca96252097ff5318af0c 100644 (file)
@@ -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