class ChefCLI::Policyfile::RevIDLockDataMap

def all_cookbook_names

def all_cookbook_names
  lock_info_by_rev_id.inject(Set.new) do |cb_set, (_rev_id, rev_info)|
    cb_set.merge(rev_info["cookbook_locks"].keys)
  end
end