Fix typos in parameter descriptions and tests

Change-Id: I23cf4500b147770f0863a2e73c94f4bbff22d37f
This commit is contained in:
Rajesh Tailor
2022-06-17 18:39:33 +05:30
parent fb6f064331
commit d425d2ed73
17 changed files with 22 additions and 22 deletions

View File

@@ -10,7 +10,7 @@
#
# [*api_package_name*]
# (optional) Name of the package containing api resources
# Defaults to $::designate::paramas::api_package_name
# Defaults to $::designate::params::api_package_name
#
# [*enabled*]
# (optional) Whether to enable services.

View File

@@ -5,7 +5,7 @@
# == Parameters
#
# [*package_ensure*]
# (optional) Ensure state for pachage.
# (optional) Ensure state for package.
# Defaults to 'present'
#
# [*client_package_name*]

View File

@@ -9,12 +9,12 @@
# Defaults to $::os_service_default
#
# [*heartbeat_interval*]
# (Optional) Number of seconds between hearbeats for distributed
# coordintation.
# (Optional) Number of seconds between heartbeats for distributed
# coordination.
# Defaults to $::os_service_default
#
# [*run_watchers_interval*]
# (Optional) Numeber of seconds between checks to see if group membership
# (Optional) Number of seconds between checks to see if group membership
# has changed.
# Defaults to $::os_service_default
#

View File

@@ -28,7 +28,7 @@
# Defaults to true.
#
# [*package_ensure*]
# (optional) Control the ensure parameter for the package ressource.
# (optional) Control the ensure parameter for the package resource.
# Defaults to 'present'.
#
define designate::generic_service(

View File

@@ -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
#

View File

@@ -60,7 +60,7 @@
# Defaults to []
#
# [*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:9001'
#

View File

@@ -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',

View File

@@ -9,11 +9,11 @@
# Defaults to $::os_service_default.
#
# [*endpoint_type*]
# (Optional) Endpoiint type to use
# (Optional) Endpoint type to use
# Defaults to $::os_service_default.
#
# [*timeout*]
# (Optional) Timeout value for connecting to neutorn in seconds.
# (Optional) Timeout value for connecting to neutron in seconds.
# Defaults to $::os_service_default.
#
class designate::network_api::neutron (

View File

@@ -25,7 +25,7 @@
# Defaults to $::os_service_default
#
# [*threads*]
# (optional) Number of sink greenthreads to spwan.
# (optional) Number of sink greenthreads to spawn.
# Defaults to $::os_service_default
#
# [*enabled_notification_handlers*]

View File

@@ -99,11 +99,11 @@ class designate::worker(
include designate::deps
if $manage_package != undef {
warning('manage_package is dperecated and has no effect')
warning('manage_package is deprecated and has no effect')
}
if $service_ensure != undef {
warning('service_ensure is dperecated and has no effect')
warning('service_ensure is deprecated and has no effect')
}
if $worker_topic != undef {

View File

@@ -104,7 +104,7 @@ describe 'designate::api' do
end
end
context 'with enabled_extentions in list' do
context 'with enabled_extensions in list' do
before do
params.merge!({
:enabled_extensions_v2 => ['ext1', 'ext2'],

View File

@@ -36,7 +36,7 @@ describe 'designate::db::sync' do
:db_sync_timeout => 750,
}
end
it 'runs designate manage with diffent config' do
it 'runs designate manage with different config' do
is_expected.to contain_exec('designate-dbsync').with(
:command => 'designate-manage --config-file /etc/designate/designate.conf database sync',
:path => '/usr/bin',

View File

@@ -8,7 +8,7 @@ describe 'designate::producer_task::delayed_notify' do
shared_examples 'designate::producer_task::delayed_notify' do
context 'with default parameters' do
it 'configures the defaut values' do
it 'configures the default values' do
is_expected.to contain_designate_config('producer_task:delayed_notify/interval').with_value('<SERVICE DEFAULT>')
is_expected.to contain_designate_config('producer_task:delayed_notify/per_page').with_value('<SERVICE DEFAULT>')
is_expected.to contain_designate_config('producer_task:delayed_notify/batch_size').with_value('<SERVICE DEFAULT>')

View File

@@ -8,7 +8,7 @@ describe 'designate::producer_task::periodic_exists' do
shared_examples 'designate::producer_task::periodic_exists' do
context 'with default parameters' do
it 'configures the defaut values' do
it 'configures the default values' do
is_expected.to contain_designate_config('producer_task:periodic_exists/interval').with_value('<SERVICE DEFAULT>')
is_expected.to contain_designate_config('producer_task:periodic_exists/per_page').with_value('<SERVICE DEFAULT>')
end

View File

@@ -8,7 +8,7 @@ describe 'designate::producer_task::periodic_secondary_refresh' do
shared_examples 'designate::producer_task::periodic_secondary_refresh' do
context 'with default parameters' do
it 'configures the defaut values' do
it 'configures the default values' do
is_expected.to contain_designate_config('producer_task:periodic_secondary_refresh/interval').with_value('<SERVICE DEFAULT>')
is_expected.to contain_designate_config('producer_task:periodic_secondary_refresh/per_page').with_value('<SERVICE DEFAULT>')
end

View File

@@ -8,7 +8,7 @@ describe 'designate::producer_task::worker_periodic_recovery' do
shared_examples 'designate::producer_task::worker_periodic_recovery' do
context 'with default parameters' do
it 'configures the defaut values' do
it 'configures the default values' do
is_expected.to contain_designate_config('producer_task:worker_periodic_recovery/interval').with_value('<SERVICE DEFAULT>')
is_expected.to contain_designate_config('producer_task:worker_periodic_recovery/per_page').with_value('<SERVICE DEFAULT>')
end

View File

@@ -8,7 +8,7 @@ describe 'designate::producer_task::zone_purge' do
shared_examples 'designate::producer_task::zone_purge' do
context 'with default parameters' do
it 'configures the defaut values' do
it 'configures the default values' do
is_expected.to contain_designate_config('producer_task:zone_purge/interval').with_value('<SERVICE DEFAULT>')
is_expected.to contain_designate_config('producer_task:zone_purge/per_page').with_value('<SERVICE DEFAULT>')
is_expected.to contain_designate_config('producer_task:zone_purge/time_threshold').with_value('<SERVICE DEFAULT>')