Skip to content

Commit

Permalink
Fix typos in comments and documention (most of them found by codespell)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 8, 2015
1 parent 9203c0e commit f8553cc
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Expand Up @@ -10,7 +10,7 @@
(Redmine #7193)
- Package promise: Fix inability to install certain packages
with numbers.
- Fix package promise not removing dependant packages. (Redmine #7424)
- Fix package promise not removing dependent packages. (Redmine #7424)
- Fix warning "Failed to parse csv file entry" with certain very long
commands promises. (Redmine #7400)
- Fix misaligned help output in cf-hub. (Redmine #7273)
Expand Down
2 changes: 1 addition & 1 deletion HACKING.md
Expand Up @@ -303,7 +303,7 @@ the following when writing output messages.
* Log levels
* `LOG_LEVEL_CRIT` For critical errors, process exits immediately.
* `LOG_LEVEL_ERR`: For cf-agent, promise failed. For cf-serverd,
some system error occured that is worth logging to syslog.
some system error occurred that is worth logging to syslog.
* `LOG_LEVEL_NOTICE`: Important information (not errors) that must not
be missed by the user. For example cf-agent uses it in files promises
when change tracking is enabled and the file changes.
Expand Down
Expand Up @@ -40,7 +40,7 @@ bundle agent main
# NOTE: These bundles were copied from the stdlib in
# order to make this a standalone policy that requires
# no external files. Because the standard library is
# constantly evolving thier definition may change
# constantly evolving their definition may change
########################################################

body process_count any_count(cl)
Expand Down
2 changes: 1 addition & 1 deletion examples/symlink.cf
Expand Up @@ -30,7 +30,7 @@ bundle agent main
{
files:

# We use move_obstructions becuase we want the symlink to replace a
# We use move_obstructions because we want the symlink to replace a
# regular file if necessary.
"/etc/apache2/sites-enabled/www.cfengine.com" -> { "webmaster@cfengine.com" }
link_from => ln_s( "/etc/apache2/sites-available/www.cfengine.com" ),
Expand Down
6 changes: 3 additions & 3 deletions examples/users_type.cf
Expand Up @@ -16,9 +16,9 @@ bundle agent main

### Home Bundle BEGIN ###
bundle agent home_skel(user, skel)
# @brief Initalize a users home directory with the contents of skel
# @param user The users home directory to create
# @param skel The directory to seed the users home with
# @brief Initialize a user's home directory with the contents of skel
# @param user The user's home directory to create
# @param skel The directory to seed the user's home with
{
files:
"/home/$(user)/."
Expand Down
2 changes: 1 addition & 1 deletion libpromises/failsafe.cf
Expand Up @@ -178,7 +178,7 @@ bundle agent cfe_internal_update
handle => "cfe_internal_bootstrap_update_reports_failsafe_notification",
comment => "Be sure to inform the user that the failsafe policy has
been triggered. This typically indicates that the agent has
recieved broken policy. It may also indicate legacy
received broken policy. It may also indicate legacy
configuration in body executor control.";

bootstrap_mode::
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/10_files/04_match/008.cf
@@ -1,6 +1,6 @@
#######################################################
#
# Delete a file in a nonexistant directory.
# Delete a file in a nonexistent directory.
#
#######################################################

Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/10_files/04_match/008.cf.sub
@@ -1,6 +1,6 @@
#######################################################
#
# Delete a file in a nonexistant directory.
# Delete a file in a nonexistent directory.
#
#######################################################

Expand Down
@@ -1,6 +1,6 @@
#######################################################
#
# Delete a file in a nonexistant directory.
# Delete a file in a nonexistent directory.
#
#######################################################

Expand Down

0 comments on commit f8553cc

Please sign in to comment.