mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Added support to automaticly load all modules on init
This commit is contained in:
parent
117214eca5
commit
d164086280
1 changed files with 2 additions and 3 deletions
|
|
@ -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') `
|
||||
|
|
|
|||
Loading…
Reference in a new issue