From 056a37d88049dcb779bdfe9ae5e508a2807a20d2 Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Fri, 20 Aug 2021 12:37:34 +0200 Subject: [PATCH] Fixes Framework env vars not working with 1.6.0 --- doc/31-Changelog.md | 1 + icinga-powershell-framework.psm1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/31-Changelog.md b/doc/31-Changelog.md index c739a08..bc8c4ab 100644 --- a/doc/31-Changelog.md +++ b/doc/31-Changelog.md @@ -22,6 +22,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic * [#332](https://github.com/Icinga/icinga-powershell-framework/pull/332) Fixes Icinga Director Self-Service ticket handling, which was not working within the Icinga Management Console * [#335](https://github.com/Icinga/icinga-powershell-framework/pull/335) Fixes Icinga Director Self-Service Zones and CA config for legacy installation wizard * [#343](https://github.com/Icinga/icinga-powershell-framework/pull/343) Fixes freeze within Icinga Management Console, in case commands which previously existed were removed/renamed or the user applied an invalid configuration with unknown commands as install file or install command +* [#345](https://github.com/Icinga/icinga-powershell-framework/pull/345) Fixes Framework environment variables like `$IcingaEnums` not working with v1.6.0 ### Enhancements diff --git a/icinga-powershell-framework.psm1 b/icinga-powershell-framework.psm1 index dac30db..524a938 100644 --- a/icinga-powershell-framework.psm1 +++ b/icinga-powershell-framework.psm1 @@ -294,4 +294,4 @@ function Start-IcingaShellAsUser() } Set-Alias icinga Invoke-IcingaCommand -Description "Execute Icinga Framework commands in a new PowerShell instance for testing or quick access to data"; -Export-ModuleMember -Alias * -Function *; +Export-ModuleMember -Alias * -Function * -Variable *;