I'm trying to solve the following task with chef (not solo):
I need webserver in different configurations. The difference are only the configuration files e.g. for varnish, php, nginx, ...
Right now I'm using a special cookbook for each webserver configuration.
I'm wondering if and how I can use e.g. json_attrib while bootstraping a node to set an attribute and use this in the recipe to define which configuration file has to be choosen.
Similar like scripts are chosen depending on the operating system, but I want to set this while bootstraping the node.