I know my 2cents are likely only worth 1 hay penny. But here goes.
Overloading node['cloud'] with virtually all the keys possible from node['ec2'] or node['rackspace'] could go either way in several regards.
If we cloned the objects from node['ec2'] into node['cloud']
memory allocation should not be affected much; which means we
would not do away with node['ec2'] it would just have it's
attributes cloned into node['cloud'].
I have never used the instance size for anything meaningful in
chef; instead I typically use node['cpu'] (like
node.cpu.total). Maybe I just haven't had the opportunity :)
I imagine this is something good to have on the Radar making
chef DRY (as well as useable) is always a win.
Archive powered by MHonArc 2.6.16.