Closed rnelson0 closed 7 years ago
@alexjfisher Let me know if this patch satisfies your need.
The versions of the forge modules in the source Puppetfile don't make it to the .fixtures file generated. Being able to test against the latest versions is nice, but I want to test roles against the exact contents of my Puppetfile. Modules from git are ignored completely. I was looking for a tool that allows me to 'sync' my .fixtures from a Puppetfile. Maybe a better solution would be if Puppetlabs spec helper could just work with Puppetfiles instead?
@alexjfisher I've taken care of spacing issues between the module name and the version number. I don't have any really complex Puppetfiles to test with, but please confirm this works for you before I rebase/merge. Thanks!
That looks much better for forge modules. What was the verdict with regards modules from git?
Currently, no support. Tim is going to put in a request to support fixtures from git. I do not know when I will be able to get to it, definitely welcoming of PRs for that.
Fixes #37