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 #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/3905 added
Actions #2

Updated by Daniel Lobato Garcia about 8 years ago

  • Target version set to 1.5.2
Actions #3

Updated by Anonymous almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal almost 8 years ago

  • Category set to Rails
  • Translation missing: en.field_release set to 209
Actions #5

Updated by Daniel Lobato Garcia almost 8 years ago

  • Target version changed from 1.5.2 to 169
Actions #6

Updated by Brad Buckingham almost 8 years ago

  • Target version deleted (169)
Actions #7

Updated by Anonymous almost 8 years ago

  • Related to Bug #18557: Image based provisioning broken added
Actions #8

Updated by Daniel Lobato Garcia almost 8 years ago

  • Target version set to 1.11.0
Actions

Also available in: Atom PDF