hashicorp / packer-plugin-chef

This Packer provisioner is no longer being maintained and has been archived. Users are encouraged to use the shell or shell-local provisioner to run the provisioning tools made available by this plugin. If interested in maintaining this plugin please reach out to us at packer@hashicorp.com.
https://www.packer.io/docs/provisioners/chef-solo
Mozilla Public License 2.0
0 stars 6 forks source link

Policyfile Support for chef-solo provisioner #10

Open ghost opened 3 years ago

ghost commented 3 years ago

This issue was originally opened by @DWSR as hashicorp/packer#6992. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


Similar to hashicorp/packer#5574

Policyfile support should be added to the chef-solo provisioner, similar to how it is supported by the chef-client provisioner. I believe the reason the original PR didn't address the deficiency in the Solo provisioner was due to some uncertainty around using Policyfiles with it. There is an example here on how this works (also illustrating how to use chef export to bundle everything up). Additionally, since chef-solo is now just chef-client in Local Mode, there is definitely support for Policyfiles.

Ideally, it would be nice to be able to use the same control mechanisms in both my provisioning pipeline and my actual production environment.

nywilken commented 2 years ago

With the archival of this repository all open issues will be marked as read-only. If you wish to further discuss this plugin or any of its open issues we invite you to open a discussion on the Packer community forum.

More details on the plugin archiving process for this provisioner can be found on the Plans to Archive Unmaintained Packer Provisioner Plugins blog post.