class ChefCLI::Policyfile::RevIDLockDataMap

def cb_info_for(rev_id, cookbook_name)

def cb_info_for(rev_id, cookbook_name)
  lock = lock_info_by_rev_id[rev_id]
  cookbook_lock = lock["cookbook_locks"][cookbook_name]
  if cookbook_lock
    [cookbook_lock["version"], cookbook_lock["identifier"] ]
  else
    nil
  end
end