class ChefCLI::PolicyfileServices::Undelete

def recreate_and_associate_to_group(policy_info)

def recreate_and_associate_to_group(policy_info)
  rel_uri = "/policy_groups/#{policy_info.policy_group}/policies/#{policy_info.policy_name}"
  http_client.put(rel_uri, policy_info.data)
  ui.msg("Restored policy '#{policy_info.policy_name}'")
end