Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.

chef-solo builder multiple cookbooks in the chef_run_list #6

Open
ghost opened this issue Apr 20, 2021 · 1 comment
Open

chef-solo builder multiple cookbooks in the chef_run_list #6

ghost opened this issue Apr 20, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 20, 2021

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


Hi,
In the documentation, it shows that chef_run_list is an array of strings. I have tried every single combination of strings that make sense and I get one of three errors:

  • go unmarshalling error
  • chef-solo error where it doesnt understand the list of cookbooks
  • chef-solo error where the run list is empty

I have had to resort tomaking a role.
If possible, please provide the proper syntax for passing in a runlist of two cookbooks ie:

  • bingo::default
  • bongo::default

or

  • recipe[bingo]
  • recipe[bongo]

thank you, its really appreciated!

@nywilken
Copy link
Contributor

nywilken commented Nov 9, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant