Open grv87 opened 7 years ago
This is definitely a way to go. But that approach installs inspec on target machine which is not acceptable. We should take a look at https://github.com/devinturner/packer-provisioner-inspec. They run Inspec locally but support SSH connection only. Maybe we could update that code (and make PR for Packer).
Also see http://annaken.github.io/testing-packer-builds-with-serverspec
See http://www.fastrobot.com/blog/creating-tested-gce-images-using-cheftest-kitcheninspecpacker for example