From 72109eaf9a557931571fb2c682bc89737ec4e376 Mon Sep 17 00:00:00 2001 From: Rajesh Tailor Date: Fri, 3 Jun 2022 19:01:01 +0530 Subject: [PATCH] Fix some typos This change fixes some of the typos in parameter descriptions, conditions and tests. Change-Id: I81aa8f0b0338662f0dcf9bec866dc5610a9141e8 --- manifests/api.pp | 4 ++-- manifests/cache.pp | 6 +++--- manifests/compute.pp | 4 ++-- manifests/compute/libvirt/qemu.pp | 2 +- manifests/compute/libvirt/virtlockd.pp | 2 +- manifests/compute/libvirt/virtlogd.pp | 2 +- manifests/compute/rbd.pp | 2 +- manifests/limit.pp | 2 +- manifests/logging.pp | 2 +- manifests/migration/libvirt.pp | 4 ++-- manifests/params.pp | 2 +- manifests/scheduler.pp | 2 +- manifests/scheduler/filter.pp | 2 +- manifests/vncproxy.pp | 2 +- manifests/wsgi/apache_api.pp | 2 +- manifests/wsgi/apache_metadata.pp | 2 +- spec/classes/nova_network_neutron_spec.rb | 2 +- spec/classes/nova_placement_spec.rb | 2 +- spec/unit/provider/virtlockd_config/ini_setting_spec.rb | 2 +- spec/unit/provider/virtlogd_config/ini_setting_spec.rb | 2 +- spec/unit/provider/virtnodedevd_config/ini_setting_spec.rb | 2 +- spec/unit/provider/virtproxyd_config/ini_setting_spec.rb | 2 +- spec/unit/provider/virtqemud_config/ini_setting_spec.rb | 2 +- spec/unit/provider/virtsecretd_config/ini_setting_spec.rb | 2 +- spec/unit/provider/virtstoraged_config/ini_setting_spec.rb | 2 +- 25 files changed, 30 insertions(+), 30 deletions(-) diff --git a/manifests/api.pp b/manifests/api.pp index 8d72f31c6..14f0cf38b 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -85,7 +85,7 @@ # # [*metadata_service_name*] # (optional) Name of the service that will be providing the -# server functionality of nova-api-meatadata. +# server functionality of nova-api-metadata. # If the value is undef, no management of the service will be # done by puppet. If the value is defined, and manage_service # is set to true, the service will be managed by Puppet. @@ -142,7 +142,7 @@ # Defaults to $::os_service_default # # [*instance_list_cells_batch_fixed_size*] -# (optional) This controlls batch size of instances requested from each cell +# (optional) This controls batch size of instances requested from each cell # database if ``instance_list_cells_batch_strategy``` is set to ``fixed`` # Defaults to $::os_service_default # diff --git a/manifests/cache.pp b/manifests/cache.pp index 2ccfd8d1d..bd465b01b 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/compute.pp b/manifests/compute.pp index c149e2fc5..74c4334d8 100644 --- a/manifests/compute.pp +++ b/manifests/compute.pp @@ -104,7 +104,7 @@ # Defaults to $::os_service_default # # [*reboot_timeout*] -# (optioanl) Time interval after which an instance is hard rebooted +# (optional) Time interval after which an instance is hard rebooted # automatically. Setting this option to a time period in seconds will # automatically hard reboot an instance if it has been stuck in a rebooting # state longer than N seconds. @@ -208,7 +208,7 @@ # Defaults to $::os_service_default # # [*default_access_ip_network_name*] -# (optioanal) Name of the network to be used to set access IPs for +# (optional) Name of the network to be used to set access IPs for # instances. If there are multiple IPs to choose from, an arbitrary # one will be chosen. # Defaults to $::os_service_default diff --git a/manifests/compute/libvirt/qemu.pp b/manifests/compute/libvirt/qemu.pp index e8e05e71a..ced931120 100644 --- a/manifests/compute/libvirt/qemu.pp +++ b/manifests/compute/libvirt/qemu.pp @@ -63,7 +63,7 @@ class nova::compute::libvirt::qemu( require nova::compute::libvirt if versioncmp($libvirt_version, '4.5') < 0 { - fail('libvirt verson < 4.5 is no longer supported') + fail('libvirt version < 4.5 is no longer supported') } Anchor['nova::config::begin'] diff --git a/manifests/compute/libvirt/virtlockd.pp b/manifests/compute/libvirt/virtlockd.pp index 8b80f1ecd..b85679370 100644 --- a/manifests/compute/libvirt/virtlockd.pp +++ b/manifests/compute/libvirt/virtlockd.pp @@ -33,7 +33,7 @@ # Defaults to $::os_service_default # # [*max_backups*] -# Maximum nuber of backup files to keep. +# Maximum number of backup files to keep. # Defaults to $::os_service_default # class nova::compute::libvirt::virtlockd ( diff --git a/manifests/compute/libvirt/virtlogd.pp b/manifests/compute/libvirt/virtlogd.pp index f11be2068..c15ed56a0 100644 --- a/manifests/compute/libvirt/virtlogd.pp +++ b/manifests/compute/libvirt/virtlogd.pp @@ -33,7 +33,7 @@ # Defaults to $::os_service_default # # [*max_backups*] -# Maximum nuber of backup files to keep. +# Maximum number of backup files to keep. # Defaults to $::os_service_default # class nova::compute::libvirt::virtlogd ( diff --git a/manifests/compute/rbd.pp b/manifests/compute/rbd.pp index 90273929f..24e1d2a78 100644 --- a/manifests/compute/rbd.pp +++ b/manifests/compute/rbd.pp @@ -67,7 +67,7 @@ # Default to 'client.nova' # # [*ephemeral_storage*] -# (optional) Wether or not to use the rbd driver for the nova +# (optional) Whether or not to use the rbd driver for the nova # ephemeral storage or for the cinder volumes only. # Defaults to true. # diff --git a/manifests/limit.pp b/manifests/limit.pp index 3911f7da8..f222acc6c 100644 --- a/manifests/limit.pp +++ b/manifests/limit.pp @@ -53,7 +53,7 @@ # # [*endpoint_override*] # (Optional) Always use this endpoint URL for requests for this client. -# Defualts to $::os_service_default. +# Defaults to $::os_service_default. # class nova::limit( $endpoint_id, diff --git a/manifests/logging.pp b/manifests/logging.pp index 38e0c9159..7716d6f08 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/migration/libvirt.pp b/manifests/migration/libvirt.pp index d8e4c2f4f..6f348c8d4 100644 --- a/manifests/migration/libvirt.pp +++ b/manifests/migration/libvirt.pp @@ -40,7 +40,7 @@ # TLS support built into QEMU. # Prerequisite: TLS environment is configured correctly on all relevant # Compute nodes. This means, Certificate Authority (CA), server, client -# certificates, their corresponding keys, and their file permisssions are +# certificates, their corresponding keys, and their file permissions are # in place, and are validated. # Defaults to $::os_service_default # @@ -305,7 +305,7 @@ class nova::migration::libvirt( if $transport_real == 'tls' or $transport_real == 'tcp' { if versioncmp($libvirt_version, '5.6') < 0 { - fail('libvirt verson < 5.6 is no longer supported') + fail('libvirt version < 5.6 is no longer supported') } # Since libvirt >= 5.6, system socket of libvirt should be activated # by systemd, not by --listen option diff --git a/manifests/params.pp b/manifests/params.pp index 27df6fbc3..40756f3a3 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -9,7 +9,7 @@ class nova::params { $user = 'nova' $group = 'nova' - # NOTE(tkajinam) These are kept for backword compatibility + # NOTE(tkajinam) These are kept for backward compatibility $nova_user = $user $nova_group = $group diff --git a/manifests/scheduler.pp b/manifests/scheduler.pp index af55f9349..877d1642b 100644 --- a/manifests/scheduler.pp +++ b/manifests/scheduler.pp @@ -43,7 +43,7 @@ # # [*placement_aggregate_required_for_tenants*] # (Optional) This setting controls if a tenant with no aggregate affinity -# will be allowed to schedule to any availalbe node when +# will be allowed to schedule to any available node when # ``limit_tenants_to_placement_aggregate`` is set to True. # If aggregates are used to limit some tenants but not all, then this should # be False. diff --git a/manifests/scheduler/filter.pp b/manifests/scheduler/filter.pp index 4e759e500..815687665 100644 --- a/manifests/scheduler/filter.pp +++ b/manifests/scheduler/filter.pp @@ -47,7 +47,7 @@ # Defaults to $::os_service_default # # [*cpu_weight_multiplier*] -# (optional) CPU weight multilier ratio. This options determines how hosts +# (optional) CPU weight multiplier ratio. This options determines how hosts # with more or less available CPU cores are weighed. Negative numbers mean # to stack vs spread. # Defaults to $::os_service_default diff --git a/manifests/vncproxy.pp b/manifests/vncproxy.pp index 045fa7b72..8de0accb2 100644 --- a/manifests/vncproxy.pp +++ b/manifests/vncproxy.pp @@ -50,7 +50,7 @@ # Defaults to undef # # [*vencrypt_cert*] -# (optional) path to the certifiate to use when connecting to VNC servers +# (optional) path to the certificate to use when connecting to VNC servers # supporting vencrypt # Required when allow_vencrypt is true. # Defaults to undef diff --git a/manifests/wsgi/apache_api.pp b/manifests/wsgi/apache_api.pp index 242a5b1ed..d8d985568 100644 --- a/manifests/wsgi/apache_api.pp +++ b/manifests/wsgi/apache_api.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/manifests/wsgi/apache_metadata.pp b/manifests/wsgi/apache_metadata.pp index 89d311b74..f31988ba9 100644 --- a/manifests/wsgi/apache_metadata.pp +++ b/manifests/wsgi/apache_metadata.pp @@ -69,7 +69,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/nova_network_neutron_spec.rb b/spec/classes/nova_network_neutron_spec.rb index 2e7eb152d..47e456def 100644 --- a/spec/classes/nova_network_neutron_spec.rb +++ b/spec/classes/nova_network_neutron_spec.rb @@ -111,7 +111,7 @@ describe 'nova::network::neutron' do :valid_interfaces => ['internal', 'public'] ) end - it 'configures the valid_interfaces parameter with a commma-separated string' do + it 'configures the valid_interfaces parameter with a comma-separated string' do is_expected.to contain_nova_config('neutron/valid_interfaces').with_value('internal,public') end end diff --git a/spec/classes/nova_placement_spec.rb b/spec/classes/nova_placement_spec.rb index 87e2073c9..28b9f106c 100644 --- a/spec/classes/nova_placement_spec.rb +++ b/spec/classes/nova_placement_spec.rb @@ -69,7 +69,7 @@ describe 'nova::placement' do ) end - it 'configures the valid_interfaces parameter with a commma-separated string' do + it 'configures the valid_interfaces parameter with a comma-separated string' do is_expected.to contain_nova_config('placement/valid_interfaces').with_value('internal,public') end end diff --git a/spec/unit/provider/virtlockd_config/ini_setting_spec.rb b/spec/unit/provider/virtlockd_config/ini_setting_spec.rb index d37747e8f..e019bfc7f 100644 --- a/spec/unit/provider/virtlockd_config/ini_setting_spec.rb +++ b/spec/unit/provider/virtlockd_config/ini_setting_spec.rb @@ -2,7 +2,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 $LOAD_PATH.push( File.join( File.dirname(__FILE__), diff --git a/spec/unit/provider/virtlogd_config/ini_setting_spec.rb b/spec/unit/provider/virtlogd_config/ini_setting_spec.rb index f803c0842..be425e694 100644 --- a/spec/unit/provider/virtlogd_config/ini_setting_spec.rb +++ b/spec/unit/provider/virtlogd_config/ini_setting_spec.rb @@ -2,7 +2,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 $LOAD_PATH.push( File.join( File.dirname(__FILE__), diff --git a/spec/unit/provider/virtnodedevd_config/ini_setting_spec.rb b/spec/unit/provider/virtnodedevd_config/ini_setting_spec.rb index 1d316172b..91c39369c 100644 --- a/spec/unit/provider/virtnodedevd_config/ini_setting_spec.rb +++ b/spec/unit/provider/virtnodedevd_config/ini_setting_spec.rb @@ -3,7 +3,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 $LOAD_PATH.push( File.join( File.dirname(__FILE__), diff --git a/spec/unit/provider/virtproxyd_config/ini_setting_spec.rb b/spec/unit/provider/virtproxyd_config/ini_setting_spec.rb index d100f202c..ed1697016 100644 --- a/spec/unit/provider/virtproxyd_config/ini_setting_spec.rb +++ b/spec/unit/provider/virtproxyd_config/ini_setting_spec.rb @@ -3,7 +3,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 $LOAD_PATH.push( File.join( File.dirname(__FILE__), diff --git a/spec/unit/provider/virtqemud_config/ini_setting_spec.rb b/spec/unit/provider/virtqemud_config/ini_setting_spec.rb index 62cdede2e..57416586e 100644 --- a/spec/unit/provider/virtqemud_config/ini_setting_spec.rb +++ b/spec/unit/provider/virtqemud_config/ini_setting_spec.rb @@ -3,7 +3,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 $LOAD_PATH.push( File.join( File.dirname(__FILE__), diff --git a/spec/unit/provider/virtsecretd_config/ini_setting_spec.rb b/spec/unit/provider/virtsecretd_config/ini_setting_spec.rb index 19e68391c..02ccde4ad 100644 --- a/spec/unit/provider/virtsecretd_config/ini_setting_spec.rb +++ b/spec/unit/provider/virtsecretd_config/ini_setting_spec.rb @@ -3,7 +3,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 $LOAD_PATH.push( File.join( File.dirname(__FILE__), diff --git a/spec/unit/provider/virtstoraged_config/ini_setting_spec.rb b/spec/unit/provider/virtstoraged_config/ini_setting_spec.rb index c6c7413cb..81c48b01a 100644 --- a/spec/unit/provider/virtstoraged_config/ini_setting_spec.rb +++ b/spec/unit/provider/virtstoraged_config/ini_setting_spec.rb @@ -3,7 +3,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 $LOAD_PATH.push( File.join( File.dirname(__FILE__),