-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
I noticed today that a lot of modules in my VMs were out of date.
I had a look at (Get-LabHostdefault).ModuleCachePath and can see that there's lots of versions of each of the DSC Resource modules, but not of the other modules.
The way I specify the DSC Resource modules is like:
Compared to:
I had assumed with just a Name that it would download the latest version but it seems it doesn't. What sucks about this is that Lability knows what version the module is because when it stores it in the cache it also fills out the version number in the filename.
Workarounds I can imagine are:
- Always specify the required version with these other modules also (annoying).
- Clear the lab module cache every time with Clear-LabModuleCache (pretty harsh).
- Maybe add another flag to these DSCResource/Modules sections (like Latest = $true) so for PSGallery it gets the latest version number, and downloads if there's a newer one?
Did I miss anything?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels


