Project

General

Profile

Actions

Refactor #16752

closed

Extract template-related code from Host::Managed

Added by Daniel Lobato Garcia about 8 years ago. Updated over 6 years ago.

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

Description

Host::Managed contains a lot of code related with determining the template that a host should have. Other Host objects such as Host::Discovered might need that logic, without becoming a Host::Managed. A solution for this would be to extract the methods that have to do with templates to a concern, and every Host class that wants to implement them, just includes that concern.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #18557: Image based provisioning brokenResolved02/18/2017Actions
Actions

Also available in: Atom PDF