I'm getting started with Chef and I've got a couple of things work which is great. I'm a little stuck though with how to use the Apache2 recipe to configure a virtual host. I have 5 hosts to set up and I'm wondering where the best place is to store this config data and how the recipe calls them.
Do I store them in a databag? If so how do I then use this data? Do I set up another recipe that calls the web_app or apache_site definition to create them?
The Chef documentation is a little thin around how you should make these kinds of modifications.