Fix some typos

This change fixes some of the typos in parameter descriptions,
conditions and tests.

Change-Id: I81aa8f0b0338662f0dcf9bec866dc5610a9141e8
This commit is contained in:
Rajesh Tailor
2022-06-03 19:01:01 +05:30
parent a6c166e8e8
commit 72109eaf9a
25 changed files with 30 additions and 30 deletions

View File

@@ -85,7 +85,7 @@
# #
# [*metadata_service_name*] # [*metadata_service_name*]
# (optional) Name of the service that will be providing the # (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 # If the value is undef, no management of the service will be
# done by puppet. If the value is defined, and manage_service # done by puppet. If the value is defined, and manage_service
# is set to true, the service will be managed by Puppet. # is set to true, the service will be managed by Puppet.
@@ -142,7 +142,7 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*instance_list_cells_batch_fixed_size*] # [*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`` # database if ``instance_list_cells_batch_strategy``` is set to ``fixed``
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #

View File

@@ -108,7 +108,7 @@
# Defaults to true # Defaults to true
# #
# [*tls_enabled*] # [*tls_enabled*]
# (Optional) Global toggle for TLS usage when comunicating with # (Optional) Global toggle for TLS usage when communicating with
# the caching servers. # the caching servers.
# Default to $::os_service_default # Default to $::os_service_default
# #
@@ -128,7 +128,7 @@
# #
# [*tls_keyfile*] # [*tls_keyfile*]
# (Optional) Path to a single file containing the client's private # (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 # specified in tls_certfile. If tls_enabled is False, this option
# is ignored. # is ignored.
# Default to $::os_service_default # Default to $::os_service_default
@@ -144,7 +144,7 @@
# (Optional) Enable retry client mechanisms to handle failure. # (Optional) Enable retry client mechanisms to handle failure.
# Those mechanisms can be used to wrap all kind of pymemcache # Those mechanisms can be used to wrap all kind of pymemcache
# clients. The wrapper allows you to define how many attempts # 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 # Default to $::os_service_default
# #
# [*retry_attempts*] # [*retry_attempts*]

View File

@@ -104,7 +104,7 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*reboot_timeout*] # [*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. Setting this option to a time period in seconds will
# automatically hard reboot an instance if it has been stuck in a rebooting # automatically hard reboot an instance if it has been stuck in a rebooting
# state longer than N seconds. # state longer than N seconds.
@@ -208,7 +208,7 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*default_access_ip_network_name*] # [*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 # instances. If there are multiple IPs to choose from, an arbitrary
# one will be chosen. # one will be chosen.
# Defaults to $::os_service_default # Defaults to $::os_service_default

View File

@@ -63,7 +63,7 @@ class nova::compute::libvirt::qemu(
require nova::compute::libvirt require nova::compute::libvirt
if versioncmp($libvirt_version, '4.5') < 0 { 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'] Anchor['nova::config::begin']

View File

@@ -33,7 +33,7 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*max_backups*] # [*max_backups*]
# Maximum nuber of backup files to keep. # Maximum number of backup files to keep.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
class nova::compute::libvirt::virtlockd ( class nova::compute::libvirt::virtlockd (

View File

@@ -33,7 +33,7 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*max_backups*] # [*max_backups*]
# Maximum nuber of backup files to keep. # Maximum number of backup files to keep.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
class nova::compute::libvirt::virtlogd ( class nova::compute::libvirt::virtlogd (

View File

@@ -67,7 +67,7 @@
# Default to 'client.nova' # Default to 'client.nova'
# #
# [*ephemeral_storage*] # [*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. # ephemeral storage or for the cinder volumes only.
# Defaults to true. # Defaults to true.
# #

View File

@@ -53,7 +53,7 @@
# #
# [*endpoint_override*] # [*endpoint_override*]
# (Optional) Always use this endpoint URL for requests for this client. # (Optional) Always use this endpoint URL for requests for this client.
# Defualts to $::os_service_default. # Defaults to $::os_service_default.
# #
class nova::limit( class nova::limit(
$endpoint_id, $endpoint_id,

View File

@@ -69,7 +69,7 @@
# See https://docs.python.org/2/howto/logging.html # See https://docs.python.org/2/howto/logging.html
# #
# [*default_log_levels*] # [*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 # Defaults to $::os_service_default
# Example: # Example:
# { 'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN', # { 'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN',

View File

@@ -40,7 +40,7 @@
# TLS support built into QEMU. # TLS support built into QEMU.
# Prerequisite: TLS environment is configured correctly on all relevant # Prerequisite: TLS environment is configured correctly on all relevant
# Compute nodes. This means, Certificate Authority (CA), server, client # 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. # in place, and are validated.
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
@@ -305,7 +305,7 @@ class nova::migration::libvirt(
if $transport_real == 'tls' or $transport_real == 'tcp' { if $transport_real == 'tls' or $transport_real == 'tcp' {
if versioncmp($libvirt_version, '5.6') < 0 { 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 # Since libvirt >= 5.6, system socket of libvirt should be activated
# by systemd, not by --listen option # by systemd, not by --listen option

View File

@@ -9,7 +9,7 @@ class nova::params {
$user = 'nova' $user = 'nova'
$group = 'nova' $group = 'nova'
# NOTE(tkajinam) These are kept for backword compatibility # NOTE(tkajinam) These are kept for backward compatibility
$nova_user = $user $nova_user = $user
$nova_group = $group $nova_group = $group

View File

@@ -43,7 +43,7 @@
# #
# [*placement_aggregate_required_for_tenants*] # [*placement_aggregate_required_for_tenants*]
# (Optional) This setting controls if a tenant with no aggregate affinity # (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. # ``limit_tenants_to_placement_aggregate`` is set to True.
# If aggregates are used to limit some tenants but not all, then this should # If aggregates are used to limit some tenants but not all, then this should
# be False. # be False.

View File

@@ -47,7 +47,7 @@
# Defaults to $::os_service_default # Defaults to $::os_service_default
# #
# [*cpu_weight_multiplier*] # [*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 # with more or less available CPU cores are weighed. Negative numbers mean
# to stack vs spread. # to stack vs spread.
# Defaults to $::os_service_default # Defaults to $::os_service_default

View File

@@ -50,7 +50,7 @@
# Defaults to undef # Defaults to undef
# #
# [*vencrypt_cert*] # [*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 # supporting vencrypt
# Required when allow_vencrypt is true. # Required when allow_vencrypt is true.
# Defaults to undef # Defaults to undef

View File

@@ -83,7 +83,7 @@
# Optional. Defaults to undef. # Optional. Defaults to undef.
# #
# [*custom_wsgi_process_options*] # [*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. # overwrite the default options for the WSGI main process.
# eg. to use a virtual python environment for the WSGI process # eg. to use a virtual python environment for the WSGI process
# you could set it to: # you could set it to:

View File

@@ -69,7 +69,7 @@
# Optional. Defaults to undef. # Optional. Defaults to undef.
# #
# [*custom_wsgi_process_options*] # [*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. # overwrite the default options for the WSGI main process.
# eg. to use a virtual python environment for the WSGI process # eg. to use a virtual python environment for the WSGI process
# you could set it to: # you could set it to:

View File

@@ -111,7 +111,7 @@ describe 'nova::network::neutron' do
:valid_interfaces => ['internal', 'public'] :valid_interfaces => ['internal', 'public']
) )
end 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') is_expected.to contain_nova_config('neutron/valid_interfaces').with_value('internal,public')
end end
end end

View File

@@ -69,7 +69,7 @@ describe 'nova::placement' do
) )
end 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') is_expected.to contain_nova_config('placement/valid_interfaces').with_value('internal,public')
end end
end end

View File

@@ -2,7 +2,7 @@
# these tests are a little concerning b/c they are hacking around the # 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 # modulepath, so these tests will not catch issues that may eventually arise
# related to loading these plugins. # 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( $LOAD_PATH.push(
File.join( File.join(
File.dirname(__FILE__), File.dirname(__FILE__),

View File

@@ -2,7 +2,7 @@
# these tests are a little concerning b/c they are hacking around the # 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 # modulepath, so these tests will not catch issues that may eventually arise
# related to loading these plugins. # 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( $LOAD_PATH.push(
File.join( File.join(
File.dirname(__FILE__), File.dirname(__FILE__),

View File

@@ -3,7 +3,7 @@
# these tests are a little concerning b/c they are hacking around the # 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 # modulepath, so these tests will not catch issues that may eventually arise
# related to loading these plugins. # 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( $LOAD_PATH.push(
File.join( File.join(
File.dirname(__FILE__), File.dirname(__FILE__),

View File

@@ -3,7 +3,7 @@
# these tests are a little concerning b/c they are hacking around the # 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 # modulepath, so these tests will not catch issues that may eventually arise
# related to loading these plugins. # 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( $LOAD_PATH.push(
File.join( File.join(
File.dirname(__FILE__), File.dirname(__FILE__),

View File

@@ -3,7 +3,7 @@
# these tests are a little concerning b/c they are hacking around the # 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 # modulepath, so these tests will not catch issues that may eventually arise
# related to loading these plugins. # 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( $LOAD_PATH.push(
File.join( File.join(
File.dirname(__FILE__), File.dirname(__FILE__),

View File

@@ -3,7 +3,7 @@
# these tests are a little concerning b/c they are hacking around the # 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 # modulepath, so these tests will not catch issues that may eventually arise
# related to loading these plugins. # 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( $LOAD_PATH.push(
File.join( File.join(
File.dirname(__FILE__), File.dirname(__FILE__),

View File

@@ -3,7 +3,7 @@
# these tests are a little concerning b/c they are hacking around the # 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 # modulepath, so these tests will not catch issues that may eventually arise
# related to loading these plugins. # 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( $LOAD_PATH.push(
File.join( File.join(
File.dirname(__FILE__), File.dirname(__FILE__),