class ChefCLI::PolicyfileServices::Undelete

def recreate_as_orphan(policy_info)

def recreate_as_orphan(policy_info)
  rel_uri = "/policies/#{policy_info.policy_name}/revisions"
  http_client.post(rel_uri, policy_info.data)
  ui.msg("Restored policy '#{policy_info.policy_name}'")
end