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'); }