From f4d349e3967ee58019d3f71dce9e012a1c18bcdb Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Thu, 31 Oct 2019 14:32:49 +0100 Subject: [PATCH] Rename IcingaPowerShellService to IcingaFrameworkService --- ...hellService.psm1 => Install-IcingaFrameworkService.psm1} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename lib/core/framework/{Install-IcingaPowerShellService.psm1 => Install-IcingaFrameworkService.psm1} (80%) diff --git a/lib/core/framework/Install-IcingaPowerShellService.psm1 b/lib/core/framework/Install-IcingaFrameworkService.psm1 similarity index 80% rename from lib/core/framework/Install-IcingaPowerShellService.psm1 rename to lib/core/framework/Install-IcingaFrameworkService.psm1 index cd1e2da..71abdb3 100644 --- a/lib/core/framework/Install-IcingaPowerShellService.psm1 +++ b/lib/core/framework/Install-IcingaFrameworkService.psm1 @@ -1,8 +1,8 @@ -function Install-IcingaPowerShellService() +function Install-IcingaFrameworkService() { param( $Path, - $Username, + $User, [SecureString]$Password ); @@ -22,5 +22,5 @@ function Install-IcingaPowerShellService() throw ([string]::Format('Failed to install Icinga PowerShell Service: {0}{1}', $ServiceCreation.Message, $ServiceCreation.Error)); } - return (Set-IcingaAgentServiceUser -User $Username -Password $Password -Service 'icingapowershell'); + return (Set-IcingaAgentServiceUser -User $User -Password $Password -Service 'icingapowershell'); }