aia/knife-solo — comment on commit 4cf09c680fa37769e690d407788f390b6728f601
File:  line 0
By matschaffer:

Gotcha. Awesome, thanks for the feedback!

-Mat

On Feb 10, 2012, at 9:14 AM, Artem Veremey

wrote:

> Hi Mat,
>
> I was running several bootstraps on EC2 and noticed that knife prepare is taking a long time to finish. Before, I was blindly running knife prepare without ever looking at what it does. After digging into the code, I realized that knife prepare was adding a yum repository and sourcing packages from it. Every extra yum repository on EC2 adds to the knife cook runtime as I typically add some repos of my own and have to rebuild yum cache. My VM images already have ruby 1.9, chef, bundler, and all the goodies baked it, so I commented out the yum install code to see the effect. Knife and chef runs did speed up significantly.
>
> Later, I realized that there is no point in my case to run knife prepare at all. I can just add the node's json and go to knife cook.
>
> This set of changes is just an misguided adventure of mine :-) I am going to nuke it soon.
>
> Thank you for knife-solo! I am a heavy user.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/aia/knife-solo/commit/4cf09c680fa37769e690d407788f390b6728f601#commitcomment-953687