mlafeldt / chef-runner

The fastest way to run Chef cookbooks
Apache License 2.0
179 stars 17 forks source link

Use run list from JSON file if present #18

Closed mlafeldt closed 10 years ago

mlafeldt commented 10 years ago

As requested by @arosenhagen in #17.

  1. Run recipes/default.rb if no args are passed
  2. Use runlist from JSON file (if present), overriding 1)
  3. Use runlist from command line (if present), overriding 1) and 2)
mlafeldt commented 10 years ago

@arosenhagen This is something I just hacked up. Some tests showed that it worked fine. Maybe you can give it a try. :)

I'm going to improve the code further before merging it. Among other things, I want to add log messages that print the actual run list being used.

mlafeldt commented 10 years ago

@arosenhagen Done. Please approve. :)

mlafeldt commented 10 years ago

Rebased on top of master.