diff --git a/src/Puppet.Dsc/functions/New-PuppetDscModule.ps1 b/src/Puppet.Dsc/functions/New-PuppetDscModule.ps1 index 7b552866..95763ada 100644 --- a/src/Puppet.Dsc/functions/New-PuppetDscModule.ps1 +++ b/src/Puppet.Dsc/functions/New-PuppetDscModule.ps1 @@ -169,7 +169,7 @@ Function New-PuppetDscModule { # Generate REFERENCE.md file for the Puppet module from the auto-generated types for each DSC resource Write-PSFMessage -Message 'Writing the reference documentation for the Puppet module' Set-PSModulePath -Path $InitialPsModulePath - Install-Gems -PuppetModuleFolderPath $PuppetModuleRootFolderDirectory -Verbose + Invoke-BundleInstall -PuppetModuleFolderPath $PuppetModuleRootFolderDirectory -Verbose Add-PuppetReferenceDocumentation -PuppetModuleFolderPath $PuppetModuleRootFolderDirectory -Verbose If ($PassThru) { diff --git a/src/Puppet.Dsc/internal/functions/Install-Gems.ps1 b/src/Puppet.Dsc/internal/functions/Install-Gems.ps1 index 887c2934..8055c74c 100644 --- a/src/Puppet.Dsc/internal/functions/Install-Gems.ps1 +++ b/src/Puppet.Dsc/internal/functions/Install-Gems.ps1 @@ -1,4 +1,4 @@ -function Install-Gems { +function Invoke-BundleInstall { <# .SYNOPSIS Install required gems