We want to do a chef-client installation in a custom location .The reasons are thus
1.We get by default chef-client 11.12 version installed in the standard /opt location when the VMs are created
2.We want to install chef-client 12.6 in another new location for the purpose of testing out some new features of chef and possibly going into production with it .
3.We do not want to uninstall the earlier chef-client because we think there may be recipes that have made some assumptions on libraries of older version of chef.
In short our understanding was that as chef packages its own version of ruby ,it will not interfere with the other chef-client on same machine .But it turns out ruby references statically linked libraries to /opt/chef
Is there a way to do this and has anybody done it ,to have 2 versions of chef on same machine ?