Closed JamesHay closed 10 years ago
I'm unable to reproduce this as it sets the correct path for me. Can I see your Packer template?
I'm having the same issue on chef-solo 12.21.20
"type": "chef-solo",
"version": "12.21.20",
"cookbook_paths": [
"/tmp/os-hardening"
],
"run_list": [
"recipe[os-hardening::default]"
]
}
Generated solo.rb:
user@computer:/tmp$ cat /tmp/packer-chef-solo/solo.rb
cookbook_path ["/tmp/packer-chef-solo/cookbooks-0"]
11:34 $ packer version Packer v1.4.0
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
When provisioning a windows box,
After setting a staging_directory value, the default generated solo.rb contains the following:
Given the staging_directory c:/windows/temp I expected the file to contain the following: