Open KirkMartinez opened 7 years ago
"version" is supported by packer 1.0.1 or later.
Was this ever fixed. I have the same issue.
I was having the same issue with the Chef 13 client. To work around it, I deleted:
.\cookbooks\packer-templates\Berksfile.lock
before I ran
berks vendor ../../vendor/cookbooks
This allowed berks to use the latest version of the Windows cookbook, which eliminates the error reported above. The Berksfile.lock file looked like this after running the berks vendor
command:
DEPENDENCIES
packer-templates
path: .
metadata: true
GRAPH
ohai (5.2.0)
packer-templates (0.1.0)
windows (>= 0.0.0)
wsus-client (>= 0.0.0)
windows (3.1.3)
ohai (>= 4.0.0)
wsus-client (1.2.1)
This allowed me to successfully build with the vbox-2016.json
template using Chef Client 13.4.24
.
At least I assume it's the ChefDK version since all the other deps are specified...and when I added "version": "12.19.36" to the chef-solo provisioner entries in vbox-2016.json it fixed it.