From 6c3de2ab0c1de55c61036a561f4e2bfed9d8d733 Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Mon, 11 Sep 2023 17:55:00 +0100 Subject: [PATCH] (CAT-1322) - Update Install-Gems function naming as per powershell guidelines --- src/Puppet.Dsc/functions/New-PuppetDscModule.ps1 | 2 +- src/Puppet.Dsc/internal/functions/Install-Gems.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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