It's not possible in Packer, but if you are running a CM tool like chef
with the right config there is no reason to run it multiple times.

On Thu, May 9, 2019 at 10:26 AM Nitin Rao <[email protected]> wrote:

> Can anyone please let me know how to loop a provisioner for multiple
> package installation.
>
> For Eg. I have a chef client provisioner for installing any software based
> on my installation command as input . So how can I repeat the chef
> provisioner as a for-loop ?
>
> is there any way we can do it Packer side or its possible only on the
> provisioner (chef) side?
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/cbfb8cc6-3b03-4951-8b31-ef1df89e4326%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/cbfb8cc6-3b03-4951-8b31-ef1df89e4326%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt_bWRLnDG9P%2BD0WAdXwTq_MzPrdKz8Om7Ewuj1oFdXw9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to