Project

General

Profile

Actions

Bug #2644

closed

HostController.find_by_name needs refactoring

Added by Greg Sutcliffe over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Presently this method makes unnecessary checks for permissions (which could be handled by scope) and restricts itself to Host::Managed which can break Discovery. This should also be refactored to allow additional ways of finding a host.

https://github.com/theforeman/foreman/pull/699

Actions

Also available in: Atom PDF