Skip to content

Commit

Permalink
Fix spelling errors reported by lintian
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Vidic authored and Valentin Vidic committed May 15, 2018
1 parent 6548e73 commit a89bc9f
Show file tree
Hide file tree
Showing 19 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion heartbeat/IPv6addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ write_pid_file(const char *pid_file)
}

if (kill(pid, SIGKILL) < 0 && errno != ESRCH) {
cl_log(LOG_INFO, "Error killing old proccess [%lu] "
cl_log(LOG_INFO, "Error killing old process [%lu] "
"from pid-file [%s]: %s", pid,
pid_file, strerror(errno));
return -1;
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/Raid1
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ set to "auto" to manage all devices specified in raidconf.
The value for the homehost directive; this is an mdadm feature to
protect RAIDs against being activated by accident. It is recommended to
create RAIDs managed by the cluster with "homehost" set to a special
value, so they are not accidentially auto-assembled by nodes not
value, so they are not accidentally auto-assembled by nodes not
supposed to own them.
</longdesc>
<shortdesc lang="en">Homehost for mdadm</shortdesc>
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/Route
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ route_validate() {
fi
# Did we get either a device or a gateway address?
if [ -z "${OCF_RESKEY_device}" -a -z "${OCF_RESKEY_gateway}" ]; then
ocf_exit_reason "Must specifiy either \"device\", or \"gateway\", or both."
ocf_exit_reason "Must specify either \"device\", or \"gateway\", or both."
return $OCF_ERR_ARGS
fi
# If a device has been configured, is it available on this system?
Expand Down
4 changes: 2 additions & 2 deletions heartbeat/SAPInstance
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ That is only useful for double stack systems.
<content type="string" default="3600" />
</parameter>
<parameter name="AUTOMATIC_RECOVER" unique="0" required="0">
<longdesc lang="en">The SAPInstance resource agent tries to recover a failed start attempt automaticaly one time. This is done by killing runing instance processes, removing the kill.sap file and executing cleanipc. Sometimes a crashed SAP instance leaves some processes and/or shared memory segments behind. Setting this option to true will try to remove those leftovers during a start operation. That is to reduce manual work for the administrator.</longdesc>
<longdesc lang="en">The SAPInstance resource agent tries to recover a failed start attempt automatically one time. This is done by killing running instance processes, removing the kill.sap file and executing cleanipc. Sometimes a crashed SAP instance leaves some processes and/or shared memory segments behind. Setting this option to true will try to remove those leftovers during a start operation. That is to reduce manual work for the administrator.</longdesc>
<shortdesc lang="en">Enable or disable automatic startup recovery</shortdesc>
<content type="boolean" default="false"/>
</parameter>
Expand Down Expand Up @@ -204,7 +204,7 @@ The name of the SAP START profile. Specify this parameter, if you have changed t
</parameter>
<parameter name="IS_ERS" unique="0" required="0">
<longdesc lang="en">Only used for ASCS/ERS SAP Netweaver installations without implementing a master/slave resource to
allow the ASCS to 'find' the ERS running on an other cluster node after a resource failure. This parameter should be set
allow the ASCS to 'find' the ERS running on another cluster node after a resource failure. This parameter should be set
to true 'only' for the ERS instance for implementations following the SAP NetWeaver 7.40 HA certification (NW-HA-CLU-740). This includes also
systems for NetWeaver less than 7.40, if you like to impelemnt the NW-HA-CLU-740 scenario.
</longdesc>
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/Squid.in
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ for a squid instance managed by this RA.
<longdesc lang="en">
This is a required parameter. This parameter specifies a port number
for a squid instance managed by this RA. If plural ports are used,
you must specifiy the only one of them.
you must specify the only one of them.
</longdesc>
<shortdesc lang="en">Port number</shortdesc>
<content type="integer" default=""/>
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/Stateful
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ meta_data() {
<version>1.0</version>
<longdesc lang="en">
This is an example resource agent that impliments two states
This is an example resource agent that implements two states
</longdesc>
<shortdesc lang="en">Example stateful resource agent</shortdesc>
Expand Down
4 changes: 2 additions & 2 deletions heartbeat/db2
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ DEPRECATED: The admin user of the instance.
</parameter>
<parameter name="dbpartitionnum" unique="0" required="0">
<longdesc lang="en">
The number of the partion (DBPARTITIONNUM) to be managed.
The number of the partition (DBPARTITIONNUM) to be managed.
</longdesc>
<shortdesc lang="en">database partition number (DBPARTITIONNUM)</shortdesc>
<content type="string" default="0" />
Expand Down Expand Up @@ -584,7 +584,7 @@ db2_stop() {

if [ $must_kill -eq 1 ]
then
# db2nkill kills *all* partions on the node
# db2nkill kills *all* partitions on the node
if [ -x $db2bin/db2nkill ]
then
logasdb2 $db2bin/db2nkill $db2node
Expand Down
4 changes: 2 additions & 2 deletions heartbeat/docker
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ provided in the 'name' argument of this agent.
<parameter name="run_cmd" required="0" unique="0">
<longdesc lang="en">
Specifiy a command to launch within the container once
Specify a command to launch within the container once
it has initialized.
</longdesc>
<shortdesc lang="en">run command</shortdesc>
Expand All @@ -117,7 +117,7 @@ The agent will ensure they exist by running 'mkdir -p'
<parameter name="monitor_cmd" required="0" unique="0">
<longdesc lang="en">
Specifiy the full path of a command to launch within the container to check
Specify the full path of a command to launch within the container to check
the health of the container. This command must return 0 to indicate that
the container is healthy. A non-zero return code will indicate that the
container has failed and should be recovered.
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/ethmonitor
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Monitor the vitality of a local network interface.
You may set up this RA as a clone resource to monitor the network interfaces on different nodes, with the same interface name.
This is not related to the IP address or the network on which a interface is configured.
You may use this RA to move resources away from a node, which has a faulty interface or prevent moving resources to such a node.
This gives you independend control of the resources, without involving cluster intercommunication. But it requires your nodes to have more than one network interface.
This gives you independent control of the resources, without involving cluster intercommunication. But it requires your nodes to have more than one network interface.
The resource configuration requires a monitor operation, because the monitor does the main part of the work.
In addition to the resource configuration, you need to configure some location constraints, based on a CIB attribute value.
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/iface-vlan
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ vlan_meta_data() {
<parameter name="vlan_loose_binding" unique="0">
<longdesc lang="en">
Enable or disable VLAN loose bind. By default the VLAN interface
admin status (UP/DOWN) follows the underneath inteface status.
admin status (UP/DOWN) follows the underneath interface status.
Enabling loose bind allows the VLAN to disconnect from the
interface status. Be very careful that enabling loose binding
could invalidate this agent monitor operations.
Expand Down
6 changes: 3 additions & 3 deletions heartbeat/kamailio.in
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ Parameters for a third Kamailio instance:
This parameter only needs to be provided in case of using multiple Kamailio server
instances on a single cluster node:

In case that the parameter "kamctlrc" is not empty, this ressource agent monitors
In case that the parameter "kamctlrc" is not empty, this resource agent monitors
the health state of the Kamailio server via the command "kamctl monitor 1". This
setting is recommended in case of using a single Kamailio server instance.

In case that the parameter "kamctlrc" is empty, the ressource agent does not
In case that the parameter "kamctlrc" is empty, the resource agent does not
monitor the health state of the Kamailio server instance via the "kamctl" command.

Please note that the "kamctl" control command of Kamailio 4.x does not support
Expand All @@ -256,7 +256,7 @@ Parameters for a third Kamailio instance:
check via "kamctl monitor 1" can be configured for a single Kamailio instance
only.

Please refer to the long description of this resoure agent for an example
Please refer to the long description of this resource agent for an example
of parameter combinations in case that multiple instances are to be
configured per cluster node.

Expand Down
2 changes: 1 addition & 1 deletion heartbeat/ovsmonitor
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Monitor the vitality of a local ovs bond.
You may set up this RA as a clone resource to monitor the network bonds on different nodes, with the same bond name.
This is not related to the IP address or the network on which a bond is configured.
You may use this RA to move resources away from a node, which has a faulty bond or prevent moving resources to such a node.
This gives you independend control of the resources, without involving cluster intercommunication. But it requires your nodes to have more than one network bond.
This gives you independent control of the resources, without involving cluster intercommunication. But it requires your nodes to have more than one network bond.
The resource configuration requires a monitor operation, because the monitor does the main part of the work.
In addition to the resource configuration, you need to configure some location constraints, based on a CIB attribute value.
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/portblock
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ The action (block/unblock) to be done on the protocol::portno.
If for some reason the long lived server side TCP sessions won't be cleaned up
by a reconfiguration/flush/stop of whatever services this portblock protects,
they would linger in the connection table, even after the IP is gone
and services have been switched over to an other node.
and services have been switched over to another node.
An example would be the default NFS kernel server.
Expand Down
4 changes: 2 additions & 2 deletions heartbeat/slapd.in
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ For example, "ldap://127.0.0.1:389 ldaps:/// ldapi:///"
<parameter name="watch_suffix" required="0" unique="0">
<longdesc lang="en">
Suffix (database backend) that will be monitored for availability. Multiple
suffixes can be specified by providing a space seperated list. By providing one
suffixes can be specified by providing a space separated list. By providing one
or more suffixes here, the ignore_suffix parameter is discarded. All suffixes
will be monitored if left blank.
</longdesc>
Expand All @@ -157,7 +157,7 @@ will be monitored if left blank.
<parameter name="ignore_suffix" required="0" unique="0">
<longdesc lang="en">
Suffix (database backend) that will not be monitored for availability. Multiple
suffixes can be specified by providing a space seperated list. No suffix will
suffixes can be specified by providing a space separated list. No suffix will
be excluded if left blank.
</longdesc>
<shortdesc lang="en">Suffix that will not be monitored for availability.</shortdesc>
Expand Down
2 changes: 1 addition & 1 deletion rgmanager/src/resources/SAPDatabase
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Resource script for SAP databases. It manages a SAP database of any type as an H
<content type="boolean" default="false"/>
</parameter>
<parameter name="AUTOMATIC_RECOVER" unique="0" required="0">
<longdesc lang="en">The SAPDatabase resource agent tries to recover a failed start attempt automaticaly one time. This is done by running a forced abort of the RDBMS and/or executing recovery commands.</longdesc>
<longdesc lang="en">The SAPDatabase resource agent tries to recover a failed start attempt automatically one time. This is done by running a forced abort of the RDBMS and/or executing recovery commands.</longdesc>
<shortdesc lang="en">Enable or disable automatic startup recovery</shortdesc>
<content type="boolean" default="false"/>
</parameter>
Expand Down
2 changes: 1 addition & 1 deletion rgmanager/src/resources/SAPInstance
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Resource script for SAP. It manages a SAP Instance as an HA resource.
<content type="string" default="3600" />
</parameter>
<parameter name="AUTOMATIC_RECOVER" unique="0" required="0">
<longdesc lang="en">The SAPInstance resource agent tries to recover a failed start attempt automaticaly one time. This is done by killing runing instance processes and executing cleanipc.</longdesc>
<longdesc lang="en">The SAPInstance resource agent tries to recover a failed start attempt automatically one time. This is done by killing running instance processes and executing cleanipc.</longdesc>
<shortdesc lang="en">Enable or disable automatic startup recovery</shortdesc>
<content type="boolean" default="false"/>
</parameter>
Expand Down
2 changes: 1 addition & 1 deletion rgmanager/src/resources/db2.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Defaults to all databases in the instance.
</parameter>
<parameter name="dbpartitionnum" unique="0" required="0">
<longdesc lang="en">
The number of the partion (DBPARTITIONNUM) to be managed.
The number of the partition (DBPARTITIONNUM) to be managed.
</longdesc>
<shortdesc lang="en">database partition number (DBPARTITIONNUM)</shortdesc>
<content type="string" default="0" />
Expand Down
2 changes: 1 addition & 1 deletion tools/ocft/db2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# db2
#
# This test assumes a db2 ESE instance with two partions and a database.
# This test assumes a db2 ESE instance with two partitions and a database.
# Default is instance=db2inst1, database=ocft
# adapt this in set_testenv below
#
Expand Down
2 changes: 1 addition & 1 deletion tools/send_arp.libnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ write_pid_file(const char *pidfilename)
}

if (kill(pid, SIGKILL) < 0 && errno != ESRCH) {
cl_log(LOG_INFO, "Error killing old proccess [%lu] "
cl_log(LOG_INFO, "Error killing old process [%lu] "
"from pid-file [%s]: %s", pid,
pidfilename, strerror(errno));
return -1;
Expand Down

0 comments on commit a89bc9f

Please sign in to comment.