mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Added support to automaticly load all modules on init
This commit is contained in:
parent
8f3183941f
commit
fb6267b051
1 changed files with 2 additions and 3 deletions
|
|
@ -334,9 +334,8 @@ function Get-Icinga-Object()
|
||||||
return $Icinga2;
|
return $Icinga2;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Automaticly load the Help library including Plugins
|
# Automaticly load all library modules
|
||||||
Import-IcingaLib help\help;
|
Import-IcingaLib '\';
|
||||||
Import-IcingaLib plugins;
|
|
||||||
|
|
||||||
# Initialise base configuration for our module
|
# Initialise base configuration for our module
|
||||||
$Icinga2 = & (Join-Path -Path $PSScriptRoot -ChildPath '\core\init.ps1') `
|
$Icinga2 = & (Join-Path -Path $PSScriptRoot -ChildPath '\core\init.ps1') `
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue