From 5d681ac65df8f9fd05f476842fdf3123f6d1b6d7 Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Sun, 3 Nov 2019 15:54:01 +0100 Subject: [PATCH] Fixes manifest file and setting major variables --- icinga-powershell-framework.psd1 | 100 +++++++------------------------ 1 file changed, 23 insertions(+), 77 deletions(-) diff --git a/icinga-powershell-framework.psd1 b/icinga-powershell-framework.psd1 index 86f8eed..7115173 100644 --- a/icinga-powershell-framework.psd1 +++ b/icinga-powershell-framework.psd1 @@ -1,78 +1,24 @@ @{ - -# Script module or binary module file associated with this manifest. -ModuleToProcess = 'icinga-powershell-framework.psm1' - -# Module version number -ModuleVersion = '0.0.1' - -# ID for this module -GUID = 'fcd7a805-a41b-49f9-afee-9d17a2b76d42' - -# Autor of this Moduls -Author = 'Lord Hepipud' - -# Company -CompanyName = '' - -# Copyright -Copyright = '(c) 2018 Lord Hepipud. Alle Rechte vorbehalten.' - -# Description of this module -Description = 'Icinga 2 Windows Agent Module, which allows to entirely monitor the Windows Host system.' - -# Die für dieses Modul mindestens erforderliche Version des Windows PowerShell-Moduls -PowerShellVersion = '3.0' - -# Aus diesem Modul zu exportierende Funktionen. Um optimale Leistung zu erzielen, verwenden Sie keine Platzhalter und löschen den Eintrag nicht. Verwenden Sie ein leeres Array, wenn keine zu exportierenden Funktionen vorhanden sind. -FunctionsToExport = @( 'Use-Icinga', 'Import-IcingaLib', 'Publish-IcingaModuleManifests', 'Get-IcingaPluginDir', 'Get-IcingaCustomPluginDir', 'Get-IcingaCacheDir', 'Get-IcingaPowerShellConfigDir', 'Get-IcingaFrameworkRootPath', 'Get-IcingaPowerShellModuleFile' ) - -# Aus diesem Modul zu exportierende Cmdlets. Um optimale Leistung zu erzielen, verwenden Sie keine Plat'zhalter und löschen den Eintrag nicht. Verwenden Sie ein leeres Array, wenn keine zu exportierenden Cmdlets vorhanden sind. -CmdletsToExport = @() - -# Die aus diesem Modul zu exportierenden Variablen -VariablesToExport = '*' - -# Aus diesem Modul zu exportierende Aliase. Um optimale Leistung zu erzielen, verwenden Sie keine Platzhalter und löschen den Eintrag nicht. Verwenden Sie ein leeres Array, wenn keine zu exportierenden Aliase vorhanden sind. -AliasesToExport = @() - -# Aus diesem Modul zu exportierende DSC-Ressourcen -# DscResourcesToExport = @() - -# Liste aller Module in diesem Modulpaket -# ModuleList = @() - -# Liste aller Dateien in diesem Modulpaket -# FileList = @() - -# Die privaten Daten, die an das in "RootModule/ModuleToProcess" angegebene Modul übergeben werden sollen. Diese können auch eine PSData-Hashtabelle mit zusätzlichen von PowerShell verwendeten Modulmetadaten enthalten. -PrivateData = @{ - - PSData = @{ - - # 'Tags' wurde auf das Modul angewendet und unterstützt die Modulermittlung in Onlinekatalogen. - # Tags = @() - - # Eine URL zur Lizenz für dieses Modul. - # LicenseUri = '' - - # Eine URL zur Hauptwebsite für dieses Projekt. - # ProjectUri = '' - - # Eine URL zu einem Symbol, das das Modul darstellt. - # IconUri = '' - - # 'ReleaseNotes' des Moduls - # ReleaseNotes = '' - - } # Ende der PSData-Hashtabelle - -} # Ende der PrivateData-Hashtabelle - -# HelpInfo-URI dieses Moduls -# HelpInfoURI = '' - -# Standardpräfix für Befehle, die aus diesem Modul exportiert werden. Das Standardpräfix kann mit "Import-Module -Prefix" überschrieben werden. -# DefaultCommandPrefix = '' - -} \ No newline at end of file + ModuleToProcess = 'icinga-powershell-framework.psm1' + ModuleVersion = '1.0.0' + GUID = 'fcd7a805-a41b-49f9-afee-9d17a2b76d42' + Author = 'Lord Hepipud' + CompanyName = 'Icinga GmbH' + Copyright = '(c) 2019 Icinga GmbH. All rights reserved.' + Description = 'Icinga 2 Windows Agent Module, which allows to entirely monitor the Windows Host system.' + PowerShellVersion = '4.0' + FunctionsToExport = @( 'Use-Icinga', 'Import-IcingaLib', 'Publish-IcingaModuleManifests', 'Get-IcingaPluginDir', 'Get-IcingaCustomPluginDir', 'Get-IcingaCacheDir', 'Get-IcingaPowerShellConfigDir', 'Get-IcingaFrameworkRootPath', 'Get-IcingaPowerShellModuleFile' ) + CmdletsToExport = @() + VariablesToExport = '*' + AliasesToExport = @() + PrivateData = @{ + PSData = @{ + Tags = @( 'icinga', 'icinga2', 'icinga 2', 'Icinga PowerShell Framework', 'Icinga PowerShell', 'Icinga for Windows', 'Icinga Windows') + LicenseUri = 'https://github.com/Icinga/icinga-powershell-framework/blob/master/LICENSE' + ProjectUri = 'https://github.com/Icinga/icinga-powershell-framework' + ReleaseNotes = 'https://github.com/Icinga/icinga-powershell-framework/releases' + }; + Version = 'v1.0.0-rc1'; + } + HelpInfoURI = 'https://github.com/Icinga/icinga-powershell-framework' +}