When building a custom ChefDK what should I appbundle?

Hi there,

I’m experimenting with omnibus and wonder if I should appbundle all the
knife plugins or not?

I also wonder why there’s no ‘appbundle “chef”’ here
https://github.com/chef/omnibus-chef/blob/master/config/software/chefdk.rb#L83-L87


Best regards,
Koldaev Anton

‘appbundle “chef”’ lives here:

i’m not certain about your first question. i think not, because they
don’t actually install a binstub. i think you’d want to add them to the
/opt/chefdk/bin/knife binstub that appbundle "chef" generates, and i’m
not even certain that would help knife be any faster when it searched
for plugins to activate and might break the search that knife does if
those pins ever disagree with what knife comes up with at runtime…

On 09/17/2015 06:21 PM, Anton Koldaev wrote:

Hi there,

I’m experimenting with omnibus and wonder if I should appbundle all
the knife plugins or not?

I also wonder why there’s no ‘appbundle “chef”’ here
https://github.com/chef/omnibus-chef/blob/master/config/software/chefdk.rb#L83-L87


Best regards,
Koldaev Anton

Thanks for your answers Lamont and Daniel. That’s what I was thinking but
wanted some confirmation from more experienced omnibus/appbundle/chefdk
developers.

On Sun, Sep 20, 2015 at 11:41 AM, Lamont Granquist lamont@chef.io wrote:

‘appbundle “chef”’ lives here:

https://github.com/chef/omnibus-software/blob/master/config/software/chef.rb#L105

i’m not certain about your first question. i think not, because they
don’t actually install a binstub. i think you’d want to add them to the
/opt/chefdk/bin/knife binstub that appbundle "chef" generates, and i’m
not even certain that would help knife be any faster when it searched for
plugins to activate and might break the search that knife does if those
pins ever disagree with what knife comes up with at runtime…

On 09/17/2015 06:21 PM, Anton Koldaev wrote:

Hi there,

I’m experimenting with omnibus and wonder if I should appbundle all the
knife plugins or not?

I also wonder why there’s no ‘appbundle “chef”’ here
https://github.com/chef/omnibus-chef/blob/master/config/software/chefdk.rb#L83-L87


Best regards,
Koldaev Anton


Best regards,
Koldaev Anton