Merge pull request #516 from Icinga:fix/removes_rootmodule_from_manifest_template

Fix: Removes RootModule from Manifest file

With the new module isolation, we no longer require the `RootModule` entry for manifest files.
This commit is contained in:
Lord Hepipud 2022-04-27 14:03:55 +02:00 committed by GitHub
commit a7e0bbed4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View file

@ -205,7 +205,6 @@ function New-IcingaForWindowsComponent()
Write-IcingaForWindowsComponentManifest -Name $Name -ModuleConfig @{ Write-IcingaForWindowsComponentManifest -Name $Name -ModuleConfig @{
'$MODULENAME$' = ([string]::Format('Windows {0}', $Name)); '$MODULENAME$' = ([string]::Format('Windows {0}', $Name));
'$GUID$' = (New-Guid); '$GUID$' = (New-Guid);
'$ROOTMODULE$' = ([string]::Format('{0}.psm1', $ModuleName));
'$AUTHOR$' = $Author; '$AUTHOR$' = $Author;
'$COMPANYNAME$' = $CompanyName; '$COMPANYNAME$' = $CompanyName;
'$COPYRIGHT$' = $Copyright; '$COPYRIGHT$' = $Copyright;

View file

@ -1,6 +1,5 @@
@{ @{
ModuleVersion = '$MODULEVERSION$' ModuleVersion = '$MODULEVERSION$'
RootModule = '$ROOTMODULE$'
GUID = '$GUID$' GUID = '$GUID$'
Author = '$AUTHOR$' Author = '$AUTHOR$'
CompanyName = '$COMPANYNAME$' CompanyName = '$COMPANYNAME$'