def queue_instances(instances):
 for instance_id in instances:
  node = _get_node(instance_id=instance_id)
  for name in node:
   if (instance_id == node[name]['instanceId']):
    __utils__['cloud.cache_node'](node[name], __active_provider_name__, __opts__)

def queue_instances ( instances ) : for instance_id in instances : node = _get_node ( instance_id = instance_id ) for name in node : if ( instance_id == node [ name ] [ 'instanceId' ] ) : __utils__ [ 'cloud.cache_node' ] ( node [ name ] , __active_provider_name__ , __opts__ )
queue a set of instances to be provisioned later .