Closed subash544772 closed 6 years ago
Configuration BuildServerDSC { Import-DscResource -ModuleName 'PSDesiredStateConfiguration' Import-DscResource -ModuleName cChoco $Cred = Get-AutomationPSCredential -Name "nugetcred"
Node localhost { cChocoInstaller installChoco { InstallDir = "C:\Program Files (x86)\choco" }
cChocoPackageInstaller installaddproducttochangecontrol { Ensure = 'Present' Name = "AddProductToChangeControl" Source = "Private proget server" PsDscRunAsCredential = $Cred DependsOn = "[cChocoInstaller]installChoco" } } }
what will be best way to download chocolatey artifacts from private proget feed?
@subash544772 That would be better of asked in the cChoco Gitter channel
Configuration BuildServerDSC
{
Import-DscResource -ModuleName 'PSDesiredStateConfiguration'
Import-DscResource -ModuleName cChoco $Cred = Get-AutomationPSCredential -Name "nugetcred"
cChocoPackageInstaller installaddproducttochangecontrol { Ensure = 'Present' Name = "AddProductToChangeControl" Source = "Private proget server" PsDscRunAsCredential = $Cred
DependsOn = "[cChocoInstaller]installChoco" } } }
what will be best way to download chocolatey artifacts from private proget feed?