From 8dd429549a88c0d534dd7374a50375d9b7d2c178 Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Mon, 4 Nov 2019 10:08:46 +0100 Subject: [PATCH] Fixes spelling issues --- doc/10-InstallService.md | 2 +- lib/core/icingaagent/tests/Test-IcingaAcl.psm1 | 6 +++--- lib/core/icingaagent/tests/Test-IcingaAgent.psm1 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/10-InstallService.md b/doc/10-InstallService.md index 7eff404..3709a67 100644 --- a/doc/10-InstallService.md +++ b/doc/10-InstallService.md @@ -13,7 +13,7 @@ Install the Service At first you will require the Service Binary from the [Icinga Windows Service GitHub Repository](https://github.com/Icinga/icinga-powershell-service) and copy the binary locally to your system. A recommended path would be your Program Files / Program Files (x86) directory. -Any other custom location is fully supported, has to be however accessable from the Windows Service Environment. +Any other custom location is fully supported, has to be however accessible from the Windows Service Environment. Once you have found a location, the PowerShell Module will assist you with setting up the service itself. In this documentation we will assume the path you have chosen to copy the binary to is diff --git a/lib/core/icingaagent/tests/Test-IcingaAcl.psm1 b/lib/core/icingaagent/tests/Test-IcingaAcl.psm1 index 4d1d0c3..d352260 100644 --- a/lib/core/icingaagent/tests/Test-IcingaAcl.psm1 +++ b/lib/core/icingaagent/tests/Test-IcingaAcl.psm1 @@ -29,13 +29,13 @@ function Test-IcingaAcl() [string]$messageFormat = 'Directory "{0}" {1} by the Icinga Service User "{2}"'; if ($UserFound) { if ($HasAccess) { - Write-IcingaTestOutput -Severity 'PASSED' -Message ([string]::Format($messageFormat, $Directory, 'is accessable and writeable', $ServiceUser)); + Write-IcingaTestOutput -Severity 'PASSED' -Message ([string]::Format($messageFormat, $Directory, 'is accessible and writeable', $ServiceUser)); } else { - Write-IcingaTestOutput -Severity 'FAILED' -Message ([string]::Format($messageFormat, $Directory, 'is accessable but NOT writeable', $ServiceUser)); + Write-IcingaTestOutput -Severity 'FAILED' -Message ([string]::Format($messageFormat, $Directory, 'is accessible but NOT writeable', $ServiceUser)); Write-Host "\_ Please run the following command to fix this issue: Set-IcingaAcl -Directory '$Directory'"; } } else { - Write-IcingaTestOutput -Severity 'FAILED' -Message ([string]::Format($messageFormat, $Directory, 'is not accessable', $ServiceUser)); + Write-IcingaTestOutput -Severity 'FAILED' -Message ([string]::Format($messageFormat, $Directory, 'is not accessible', $ServiceUser)); Write-Host "\_ Please run the following command to fix this issue: Set-IcingaAcl -Directory '$Directory'"; } } diff --git a/lib/core/icingaagent/tests/Test-IcingaAgent.psm1 b/lib/core/icingaagent/tests/Test-IcingaAgent.psm1 index 16ff760..32ffdee 100644 --- a/lib/core/icingaagent/tests/Test-IcingaAgent.psm1 +++ b/lib/core/icingaagent/tests/Test-IcingaAgent.psm1 @@ -10,7 +10,7 @@ function Test-IcingaAgent() if (Test-IcingaAgentFeatureEnabled -Feature 'debuglog') { Write-IcingaTestOutput -Severity 'WARNING' -Message 'The Debug-Log of the Icinga Agent is enabled. Please keep in mind to disable it once testing is done, as a huge amount of data is generated.' } else { - Write-IcingaTestOutput -Severity 'PASSED' -Message 'Icinga Agent Debug-Log is disabled.' + Write-IcingaTestOutput -Severity 'PASSED' -Message 'Icinga Agent Debug-Log is disabled' } } else { Write-IcingaTestOutput -Severity 'FAILED' -Message 'Icinga Agent Service is not installed';