tommyh / solo_wizard

Bootstrap your OS-X machine with a one liner using chef soloist.
http://www.solowizard.com
MIT License
82 stars 12 forks source link

Update for Pivotal Sprout? #10

Open gdagley opened 11 years ago

gdagley commented 11 years ago

It looks like pivotal_workstation has been deprecated in favor of sprout. Not sure how this affects this project since the pivotal_workstation recipes are still available but probably not getting updated. I really appreciate the simplicity of solo_wizard and how easy it made it to set up a new machine. Thanks.

tommyh commented 11 years ago

Thanks for the update! I looked at sprout and from a highlevel I don't see any reason solowizard couldn't be ported over to it.

Full disclosure - about to have a baby, so I might not have too much capacity to work on it in the near future, :)

trinitronx commented 11 years ago

I'd love it if solo_wizard would migrate to the sprout and sprout-wrap projects too.

I took a glance at this to see how hard it might be for me to try. After looking at the Thor task here, I can already see that there's a lot of hardcoded recipe description metadata & groups. I'm thinking that this data could eventually be made somewhat dynamic by moving it into the various sprout cookbook's metadata.rb files using the recipe setting. This would probably have to be done mostly by hand, as the pivotal_workstation cookbooks now delegate to the sprout-* ones, and adding them all to a single metadata.rb might not be possible anymore. (For an easier first pass, I think most pivotal_cookbooks still just provide a simple include_recipe for backwards compatibility, so adding to the pivotal_workstation/metadata.rb would probably still work).

Looks like the other piece that would definitely have to change is the GithubApiClient, which should pull from the new sprout repo. (Called by the solo_wizard_tasks:create_and_update_recipes_from_github Thor task)

The RecipesHelper probably needs to change the hardcoded pivotal_workstation to something more dynamic. Same for the recipe model, and the shell script template.

Not sure I've got enough time to work on this now though...