From 9bd709f0dabcc143803367a7dd8b380b8d9c5524 Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Mon, 30 Sep 2019 00:32:45 +0200 Subject: [PATCH] Changed AllowUpdate type for easier programmable use on Agent installation --- lib/core/icingaagent/installer/Install-IcingaAgent.psm1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/icingaagent/installer/Install-IcingaAgent.psm1 b/lib/core/icingaagent/installer/Install-IcingaAgent.psm1 index b869a1a..44eac5f 100644 --- a/lib/core/icingaagent/installer/Install-IcingaAgent.psm1 +++ b/lib/core/icingaagent/installer/Install-IcingaAgent.psm1 @@ -2,9 +2,9 @@ function Install-IcingaAgent() { param( [string]$Version, - [string]$Source = 'https://packages.icinga.com/windows/', - [string]$InstallDir = '', - [switch]$AllowUpdates + [string]$Source = 'https://packages.icinga.com/windows/', + [string]$InstallDir = '', + [bool]$AllowUpdates = $FALSE ); $IcingaData = Get-IcingaAgentInstallation;