From d164086280f6375ae6614d69da9e0b3e2950f7fc Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Tue, 23 Jul 2019 09:16:54 +0200 Subject: [PATCH] Added support to automaticly load all modules on init --- icinga-module-windows.psm1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/icinga-module-windows.psm1 b/icinga-module-windows.psm1 index 50a685a..97aa99e 100644 --- a/icinga-module-windows.psm1 +++ b/icinga-module-windows.psm1 @@ -334,9 +334,8 @@ function Get-Icinga-Object() return $Icinga2; } -# Automaticly load the Help library including Plugins -Import-IcingaLib help\help; -Import-IcingaLib plugins; +# Automaticly load all library modules +Import-IcingaLib '\'; # Initialise base configuration for our module $Icinga2 = & (Join-Path -Path $PSScriptRoot -ChildPath '\core\init.ps1') `