I've just started using chef-solo. I've started using chef-solo to build my Ruby on Rails web servers from scratch. Along with my bootstrapping files (deploy.rb and install.rb) I have two config files (solo.json and solo.rb). I've setup my solo.json to run a set of roles and recipes that will setup a web server.
Now I want to use chef-solo to build a mythtv box with my own customisations. Instead of having solo.json should I have 'web_server.json' and 'mythtv.json' to list my different recipes/roles for creating these servers?
Logically it should work but is there a better way? / is this the correct way?
Here is my full setup so far (as it stands it builds a web server for Ruby on Rails);
https://github.com/map7/chef-solo
One way would be to copy my whole chef-solo directory and customise it for creating my Mythtv box, but then I have to maintain two sets of chef-solo bootstrappings and config files and some of the cookbooks will be used in both situations. Such as apache2 which I want on both Mythtv & my web server.