Once upon a time I had a script that did the following:
$!/bin/bash
knife exec -E "search(:node, 'name:$1) { |h| puts h[:ec2][:instance_id] } "
and it worked, that it, it returned the EC2 instance ID of the node in $1.
I hadn't used the script in a while, and when I when to use it today, instance_id was gone. Further investigation revealed that it isn't in the node at all (knife node edit nodename -a, then search for nstance_d, ec2, or i-* all turned up nil).
Did it go away in the latest iteration of chef? If so, why? And is there a way I can get it back?
Thanks!
--------------------------------
Vincent Jorgensen
Archive powered by MHonArc 2.6.16.