Fix typos in parameter descriptions, comments and tests

Change-Id: I75b17e41aff3a63b618b6cada01f225f93a4ff4f
This commit is contained in:
Rajesh Tailor 2022-06-17 19:42:46 +05:30
parent 5e6486b3e3
commit c4890a2b00
47 changed files with 55 additions and 55 deletions

View File

@ -1,7 +1,7 @@
require 'puppet-openstack_spec_helper/rake_tasks'
# We disable the unquoted node name check because puppet-pacemaker node
# properies make use of attributes called 'node' and puppet-lint breaks on
# properties make use of attributes called 'node' and puppet-lint breaks on
# them: https://github.com/rodjek/puppet-lint/issues/501
# We are not using site.pp with nodes so this is safe.
PuppetLint.configuration.send('disable_unquoted_node_name')

View File

@ -94,7 +94,7 @@ class tripleo::fencing(
# and convert it to integer.
$local_levels = 0 + $facts['stonith_levels']
# if the number of levels defined on this system is greather than the number in hiera
# if the number of levels defined on this system is greater than the number in hiera
# we need to delete the delta.
if $local_levels > $all_levels.length {
$begin = $all_levels.length + 1

View File

@ -260,7 +260,7 @@
# Defaults to lookup('ironic_inspector_enabled', undef, undef, false)
#
# [*octavia*]
# (optional) Enable or not Octavia APII binding
# (optional) Enable or not Octavia API binding
# Defaults to lookup('octavia_api_enabled', undef, undef, false)
#
# [*mysql*]

View File

@ -40,7 +40,7 @@
# [*base_service_name*]
# In cases where the service name doesn't match the endpoint name, you can
# specify this option in order to get an appropriate value for $ip_addresses
# and $server_names. So, this will be used in hiera to dervice these, if set.
# and $server_names. So, this will be used in hiera to derive these, if set.
# Defaults to undef
#
# [*ip_addresses*]
@ -53,7 +53,7 @@
#
# [*public_virtual_ip*]
# Address in which the proxy endpoint will be listening in the public network.
# If this service is internal only this should be ommitted.
# If this service is internal only this should be omitted.
# Defaults to undef.
#
# [*mode*]
@ -234,7 +234,7 @@ define tripleo::haproxy::endpoint (
# NOTE(jaosorior): This service is configured for the internal network.
# We use the certificate spec hash. The key of the
# internal_certificates_specs hash must must match the convention
# haproxy-<network name> or else this will fail. Futherly, it must
# haproxy-<network name> or else this will fail. Further, it must
# contain the path that we'll use under 'service_pem'.
$internal_cert_path = $internal_certificates_specs["haproxy-${service_network}"]['service_pem']
}

View File

@ -33,7 +33,7 @@
#
# [*public_virtual_ip*]
# Address in which the proxy endpoint will be listening in the public network.
# If this service is internal only this should be ommitted.
# If this service is internal only this should be omitted.
# Defaults to undef.
#
# [*use_backend_syntax*]
@ -72,7 +72,7 @@
# Defaults to undef
#
# [*hsts_header_value*]
# (optional) Adds the HTTP Strict Transport Securiy (HSTS) header to
# (optional) Adds the HTTP Strict Transport Security (HSTS) header to
# response. This takes effect only when public_certificate is set.
# Defaults to undef
#
@ -109,7 +109,7 @@ class tripleo::haproxy::horizon_endpoint (
}
# NOTE(jaosorior): The key of the internal_certificates_specs hash must
# must match the convention haproxy-<network name> or else this
# will fail. Futherly, it must contain the path that we'll use under
# will fail. Further, it must contain the path that we'll use under
# 'service_pem'.
$internal_cert_path = $internal_certificates_specs["haproxy-${service_network}"]['service_pem']
$internal_bind_opts = union($haproxy_listen_bind_param, ['ssl', 'crt', $internal_cert_path])

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -14,7 +14,7 @@
#
# == Class tripleo::profile::base::apache
#
# Common apache modules and configurationfor API listeners
# Common apache modules and configuration for API listeners
#
# === Parameters
#

View File

@ -23,7 +23,7 @@
# Defaults to lookup('cinder_api_short_bootstrap_node_name', undef, undef, undef)
#
# [*cinder_enable_db_purge*]
# (Optional) Wheter to enable db purging
# (Optional) Whether to enable db purging
# Defaults to true
#
# [*step*]

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -33,7 +33,7 @@ class tripleo::profile::base::cinder::volume::dellsc (
) {
include tripleo::profile::base::cinder::volume
warning('The tripleo_dellsc class will be removed in V-Release, please use the triplo_dellemc_sc resource instead.')
warning('The tripleo_dellsc class will be removed in V-Release, please use the tripleo_dellemc_sc resource instead.')
if $step >= 4 {

View File

@ -15,7 +15,7 @@
# (Required) Target user-land tool to use
#
# [*target_protocol*]
# (Required) Target rotocol to use
# (Required) Target protocol to use
#
# [*target_prefix*]
# (Optional) Prefix for LVM volumes

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -26,7 +26,7 @@
# Defaults to {}
#
# [*cinder_ca_certificates_file*]
# (Optional) Location of ca certicate file to use for cinder client requests.
# (Optional) Location of ca certificate file to use for cinder client requests.
# Defaults to lookup('glance::backend::cinder::cinder_ca_certificates_file', undef, undef, undef).
#
# [*cinder_api_insecure*]

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -89,7 +89,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*cache_backend*]
# (Optional) oslo.cache backend used for caching.

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -144,7 +144,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*cache_backend*]
# (Optional) oslo.cache backend used for caching.

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -111,7 +111,7 @@
#
# [*amqp_instances*]
# (Optional) Hash of hashes. Each inner hash represent Instance block in plugin
# configuration file. Key of outter hash represents instance name.
# configuration file. Key of outer hash represents instance name.
# The 'address' value concatenated with the 'name' given will be used
# as the send-to address for communications over the messaging link.
# Defaults to {}.

View File

@ -101,7 +101,7 @@
# Defaults to undef
#
# [*results_format*]
# (Optional) String. Set message format compatability. Options are
# (Optional) String. Set message format compatibility. Options are
# [smartgateway,sensu]
# Defaults to smartgateway
#

View File

@ -52,7 +52,7 @@
# Defaults to undef
#
# [*listener_ssl_cert_file*]
# (optional) Path to certificat file
# (optional) Path to certificate file
# Defaults to undef
#
# [*listener_ssl_key_file*]

View File

@ -84,7 +84,7 @@
#
# [*container_cli*]
# (Optional) A container CLI to be used with the wrapper
# tooling to manage containers controled by Neutron/OVN
# tooling to manage containers controlled by Neutron/OVN
# l3/dhcp/metadata agents. Accepts only 'podman'
# Defaults to lookup('container_cli', undef, undef, 'podman').
#

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -14,7 +14,7 @@
#
# == Class: tripleo::profile::base::neutron::dhcp_agent_wrappers
#
# Generates wrapper scripts for running dhcp agent subprocesess in containers.
# Generates wrapper scripts for running dhcp agent subprocesses in containers.
#
# === Parameters
#

View File

@ -14,7 +14,7 @@
#
# == Class: tripleo::profile::base::neutron::l3_agent_wrappers
#
# Generates wrapper scripts for running l3 agent subprocesess in containers.
# Generates wrapper scripts for running l3 agent subprocesses in containers.
#
# === Parameters
#

View File

@ -5,7 +5,7 @@
# === Parameters
#
# [*step*]
# (Optional) The current step in deployment. See tripleo-heat-templatee
# (Optional) The current step in deployment. See tripleo-heat-templates
# for more details.
# Defaults to Integer(lookup('step'))
#

View File

@ -14,7 +14,7 @@
#
# == Class: tripleo::profile::base::neutron::ovn_metadata_agent_wrappers
#
# Generates wrapper scripts for running OVN metadata agent subprocesess in containers.
# Generates wrapper scripts for running OVN metadata agent subprocesses in containers.
#
# === Parameters
#

View File

@ -84,7 +84,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*cache_backend*]
# (Optional) oslo.cache backend used for caching.

View File

@ -47,11 +47,11 @@
# Defaults to Integer(lookup('step'))
#
# [*nova_enable_db_archive*]
# (Optional) Wheter to enable db archiving
# (Optional) Whether to enable db archiving
# Defaults to lookup('nova_enable_db_archive', undef, undef, true)
#
# [*nova_enable_db_purge*]
# (Optional) Wheter to enable db purging
# (Optional) Whether to enable db purging
# Defaults to lookup('nova_enable_db_purge', undef, undef, true)
#
# [*configure_apache*]

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -24,7 +24,7 @@
# Defaults to Integer(lookup('step'))
#
# [*rbd_ephemeral_storage*]
# (Optional) Use Ceph as ephmeral disk backend.
# (Optional) Use Ceph as ephemeral disk backend.
# Defaults to lookup('nova::compute::rbd::ephemeral_storage', undef, undef, false)
#
# [*rbd_persistent_storage*]

View File

@ -39,7 +39,7 @@
# Defaults to 22
#
# [*libvirt_tls*]
# (Optional) Whether or not libvird TLS service is enabled.
# (Optional) Whether or not libvirt TLS service is enabled.
# Defaults to false
class tripleo::profile::base::nova::migration::client (

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -262,7 +262,7 @@ class tripleo::profile::base::pacemaker (
}
# When we have a non-zero number of pacemaker remote nodes we
# want to set the cluster-recheck-interval property to something
# lower (unless the operator has explicitely set a value)
# lower (unless the operator has explicitly set a value)
if count($remote_short_node_names) > 0 and $cluster_recheck_interval == undef {
pacemaker::property{ 'cluster-recheck-interval-property':
property => 'cluster-recheck-interval',

View File

@ -33,7 +33,7 @@
#
# [*memcached_ipv6*]
# (Optional) Whether Memcached uses IPv6 network instead of IPv4 network.
# Defauls to lookup('memcached_ipv6', undef, undef, false)
# Defaults to lookup('memcached_ipv6', undef, undef, false)
#
# [*security_strategy*]
# (Optional) Memcached (authtoken) security strategy.

View File

@ -40,7 +40,7 @@
# Defaults to undef
#
# [*listener_ssl_cert_file*]
# (optional) Path to certificat file
# (optional) Path to certificate file
# Defaults to undef
#
# [*listener_ssl_key_file*]
@ -91,7 +91,7 @@ class tripleo::profile::base::qdr (
# B: [A]
# C: [A,B]
#
# NB: puppet 4.8 introduces break(), which would be favord to
# NB: puppet 4.8 introduces break(), which would be favored to
# the following
$connectors = $qdr_node_names.reduce([]) |$memo, $node| {
if $::hostname in $node {

View File

@ -268,7 +268,7 @@ class tripleo::profile::base::rabbitmq (
# which is applied only on the bootstrap node (because enforcing the readiness on all nodes can be problematic
# in situations like controller replacement)
# Required for changing password on update scenario. Password will be changed only when
# called explicity, THT enforces that the rabbitmq service is already running when we call this.
# called explicitly, THT enforces that the rabbitmq service is already running when we call this.
rabbitmq_user { $rabbitmq_user :
password => $rabbitmq_pass,
admin => true,

View File

@ -35,7 +35,7 @@
# (Required) The path to the key used for the specified certificate.
#
# [*preserve_host*]
# (Optional) Whether the Host header is perserved in proxied requests.
# (Optional) Whether the Host header is preserved in proxied requests.
# See the Apache ProxyPreserveHost directive docs.
# Defaults to false
#

View File

@ -83,7 +83,7 @@ eos
# TODO(tkajinam): tripleo::profile::base::designate includes
# the designate class in all nodes when step>=3,
# and the designate class now includes this class.
# Fix this once the designate class stopps including
# Fix this once the designate class stops including
# the neutron class when puppet-designate drops
# the deprecated parameters.
#is_expected.to_not contain_class('designate::network_api::neutron')

View File

@ -110,7 +110,7 @@ describe 'tripleo::profile::base::metrics::collectd' do
{ :step => 3,
:enable_libpodstats => true }
end
it 'has lobpodstats' do
it 'has libpodstats' do
is_expected.to compile.with_all_deps
is_expected.to contain_package('collectd-libpod-stats').with(:ensure => 'present')
is_expected.to contain_class('collectd').with({

View File

@ -39,7 +39,7 @@ eos
}
end
context 'with step 3 on bootstap node' do
context 'with step 3 on bootstrap node' do
let(:params) { {
:step => 3,
:bootstrap_node => 'node.example.com',
@ -54,7 +54,7 @@ eos
}
end
context 'with step 3 not on bootstap node' do
context 'with step 3 not on bootstrap node' do
let(:params) { {
:step => 3,
:bootstrap_node => 'other.example.com',

View File

@ -73,7 +73,7 @@ eos
:bootstrap_node => 'node.example.com'
} }
it 'should should start configurating database' do
it 'should start configuring database' do
is_expected.to_not contain_class('octavia::api')
is_expected.to_not contain_class('octavia::controller')
is_expected.to_not contain_class('octavia::healthcheck')

View File

@ -100,7 +100,7 @@ describe 'tripleo::profile::base::swift::proxy' do
end
end
context 'with ceilometer middleare disabled' do
context 'with ceilometer middleware disabled' do
let(:params) { {
:step => 4,
:memcache_servers => ['192.168.0.1', '192.168.0.2'],
@ -112,7 +112,7 @@ describe 'tripleo::profile::base::swift::proxy' do
end
end
context 'with audit middleare enabled' do
context 'with audit middleware enabled' do
let(:params) { {
:step => 4,
:memcache_servers => ['192.168.0.1', '192.168.0.2'],

View File

@ -104,7 +104,7 @@ heat_api_cfn_short_bootstrap_node_name: node
heat_engine_short_bootstrap_node_name: node
heat::keystone::authtoken::password: 'password'
heat::keystone::domain::domain_password: 'password'
heat::engine::auth_encryption_key: 'heat_auth_encrpytion_key'
heat::engine::auth_encryption_key: 'heat_auth_encryption_key'
# mysql related items
mysql_short_bootstrap_node_name: node
# manila related items