During our chocolatey install in our base_windows.pp it installs the latest 
version of 7-zip

I believe it does this VIA the powershell script InstallChocolatey.ps1.erb

" Write-Output "Download 7Zip commandline tool"
  $7zaExe = Join-Path $tempDir '7za.exe'

  Download-File 'https://chocolatey.org/7za.exe' "$7zaExe""

Can I just change this to Download-File 
'https://chocolatey.org/api/v2/package/7zip.install/16.04' "$7zaExe" and it 
will download that specific version?

I guess I can just try this and find out , but if someone knows of a 
different way let me know please 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/391db0e9-3f63-44ff-8805-89e483baea00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to