We're using Vagrant & Chef to provision the staging VM for our app.
Once I have a working cookbook, I upload it to chef-server and Jenkins hook ensures the staging env gets updated.
However, it's not clear to me how to try out the cookbook before I upload it. I can't use chef-solo because we're using environments.
Should I run a chef-server locally in a VM and upload it there? Or should I fix the cookbook versions in the run-lists and upload a new version (so that staging still uses the old one and does not break if the new version is wrong)?
How do you do this?