Skip to content

Commit a7e0bbe

Browse files
authored
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.
2 parents 20cda63 + 42d45c4 commit a7e0bbe

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lib/core/dev/New-IcingaForWindowsComponent.psm1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ function New-IcingaForWindowsComponent()
205205
Write-IcingaForWindowsComponentManifest -Name $Name -ModuleConfig @{
206206
'$MODULENAME$' = ([string]::Format('Windows {0}', $Name));
207207
'$GUID$' = (New-Guid);
208-
'$ROOTMODULE$' = ([string]::Format('{0}.psm1', $ModuleName));
209208
'$AUTHOR$' = $Author;
210209
'$COMPANYNAME$' = $CompanyName;
211210
'$COPYRIGHT$' = $Copyright;

templates/Manifest.psd1.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
@{
22
ModuleVersion = '$MODULEVERSION$'
3-
RootModule = '$ROOTMODULE$'
43
GUID = '$GUID$'
54
Author = '$AUTHOR$'
65
CompanyName = '$COMPANYNAME$'

0 commit comments

Comments
 (0)