From 3b1ecbed5c857c351c927c408a67391267d37d30 Mon Sep 17 00:00:00 2001
From: Rajesh Tailor <ratailor@redhat.com>
Date: Fri, 17 Jun 2022 16:37:38 +0530
Subject: [PATCH] Fix some typos in parameter descriptions

Change-Id: I634698c222da7e5f570ac3bd2cdee924457791bd
---
 manifests/api.pp                                           | 2 +-
 manifests/api/logging.pp                                   | 2 +-
 manifests/config.pp                                        | 2 +-
 manifests/healthcheck.pp                                   | 4 ++--
 manifests/keystone/auth.pp                                 | 2 +-
 manifests/plugins/simple_crypto.pp                         | 2 +-
 manifests/retry_scheduler.pp                               | 2 +-
 manifests/wsgi/apache.pp                                   | 2 +-
 spec/classes/barbican_keystone_notification_spec.rb        | 2 +-
 spec/unit/provider/barbican_config/openstackconfig_spec.rb | 2 +-
 10 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/manifests/api.pp b/manifests/api.pp
index e847abf1..87e437e5 100644
--- a/manifests/api.pp
+++ b/manifests/api.pp
@@ -250,7 +250,7 @@
 #   Defaults to undef
 #
 # [*cert_file*]
-#   (optinal) Certificate file to use when starting API server securely
+#   (optional) Certificate file to use when starting API server securely
 #   Defaults to undef
 #
 # [*key_file*]
diff --git a/manifests/api/logging.pp b/manifests/api/logging.pp
index 5c7afa81..f07575a3 100644
--- a/manifests/api/logging.pp
+++ b/manifests/api/logging.pp
@@ -70,7 +70,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/config.pp b/manifests/config.pp
index 4b8d8c96..9cbd1cc3 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -2,7 +2,7 @@
 #
 # This class is used to manage arbitrary barbican configurations.
 #
-# examle xxx_config
+# example xxx_config
 #   (optional) Allow configuration of arbitrary barbican configurations.
 #   The value is an hash of barbican_config resources. Example:
 #   { 'DEFAULT/foo' => { value => 'fooValue'},
diff --git a/manifests/healthcheck.pp b/manifests/healthcheck.pp
index f8bc4b92..e1246be5 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 b0201f4b..f90137a1 100644
--- a/manifests/keystone/auth.pp
+++ b/manifests/keystone/auth.pp
@@ -60,7 +60,7 @@
 #   Default to 'Key management Service'
 #
 # [*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:9311'.
 #
diff --git a/manifests/plugins/simple_crypto.pp b/manifests/plugins/simple_crypto.pp
index c662b957..f4dc3e03 100644
--- a/manifests/plugins/simple_crypto.pp
+++ b/manifests/plugins/simple_crypto.pp
@@ -5,7 +5,7 @@
 # === Parameters
 #
 # [*simple_crypto_plugin_kek*]
-#   (optional) Key encryption key to be used by Simple Crypto Pluging.
+#   (optional) Key encryption key to be used by Simple Crypto Plugin.
 #   Defaults to $::os_service_default
 #
 # [*global_default*]
diff --git a/manifests/retry_scheduler.pp b/manifests/retry_scheduler.pp
index a2a655b3..cafe60f2 100644
--- a/manifests/retry_scheduler.pp
+++ b/manifests/retry_scheduler.pp
@@ -24,7 +24,7 @@ class barbican::retry_scheduler (
     'retry_scheduler/periodic_interval_max_seconds': value => $periodic_interval_max_seconds;
   }
 
-  # TODO(tkajinam): Currently NO DISTRO provides the pachage to install
+  # TODO(tkajinam): Currently NO DISTRO provides the package to install
   #                 the retry daemon service. Once that is fixed, install
   #                 a separate package and enable the service.
 }
diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp
index 1c5e9e24..21a966d1 100644
--- a/manifests/wsgi/apache.pp
+++ b/manifests/wsgi/apache.pp
@@ -86,7 +86,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/barbican_keystone_notification_spec.rb b/spec/classes/barbican_keystone_notification_spec.rb
index ae6bcd92..db05f476 100644
--- a/spec/classes/barbican_keystone_notification_spec.rb
+++ b/spec/classes/barbican_keystone_notification_spec.rb
@@ -66,7 +66,7 @@ describe 'barbican::keystone::notification' do
             .with_value(param_hash[:keystone_notification_control_exchange])
         end
 
-        it 'installs the keystone listner package' do
+        it 'installs the keystone listener package' do
           is_expected.to contain_package('barbican-keystone-listener').with(
             :ensure => 'present',
             :name   => platform_params[:keystone_listener_package_name],
diff --git a/spec/unit/provider/barbican_config/openstackconfig_spec.rb b/spec/unit/provider/barbican_config/openstackconfig_spec.rb
index 7e596e44..196b429c 100644
--- a/spec/unit/provider/barbican_config/openstackconfig_spec.rb
+++ b/spec/unit/provider/barbican_config/openstackconfig_spec.rb
@@ -20,7 +20,7 @@
 # these tests are a little concerning b/c they are hacking around the
 # modulepath, so these tests will not catch issues that may eventually arise
 # related to loading these plugins.
-# I could not, for the life of me, figure out how to programatcally set the modulepath
+# I could not, for the life of me, figure out how to programmatically set the modulepath
 require 'spec_helper'
 provider_class = Puppet::Type.type(:barbican_config).provider(:openstackconfig)
 describe provider_class do