-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Chef-solo] roles_path is ignored by chef-solo provisionner #3298
Comments
If I put a value directly in config for roles_path and not in command line variable like:
the directory is inspected before the run and roles are well uploaded So the bug is : we can't provide roles_path as User var from command line Thanks |
Thanks for clarifying the failure case here. You might be able to hack around this problem by customizing the |
Thanks, it's a good idea for the moment I can add that "environments_path" also don't work when User var |
Hi @sogos, hi @cbednarski, I've been running into the same problem recently. I'm using packer version 1.0.4, but it also seems to fail in 1.4.0. Here is my template file:
The roles directory contains a file called common.json, but it seems like this file is not uploaded to the container before chef is being executed. |
Hello folks, thanks for opening up this issue. Apologies that we've not had the chance to dive further into this issue. If you've managed to resolve your problem we encourage you to leave comment for others who may experience this issue in the future. With that said, this is one of our community maintained plugins, which we have recently flagged as unmaintained. If you are interested in contributing or taking ownership of this plugin, please reach out to us at packer@hashicorp.com. |
This issue has been automatically migrated to hashicorp/packer-plugin-chef#16 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-chef#16. |
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 i use this snippet
The solo.rb is not filled with roles_path and role directory is not uploaded to staging_directory
I use "packer_0.9.0_darwin_amd64"
Thanks
The text was updated successfully, but these errors were encountered: