we are creating chef nodes using xen-create-image. I am creating a
separate role, which is supposed to install chef via omnibus. There
are two approaches to that:
- run chef-client to fully install the system during xen-create-image
phase (in chroot)
- install chef the way that after first reboot it would run
chef-client and completely configure by itself.
I would prefer (2), because it is more “real” scenario, and would not
increase (quite long already) time of xen-create-image.
Is there a way to install chef with only chef-client recipe? Or is it
generally considered “ok” to do it the (1) way?