Project

General

Profile

Actions

Bug #2358

closed

Duplicate epel and HTTP Proxy snippets added in migrations

Added by Dominic Cleal almost 11 years ago. Updated almost 11 years ago.

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

Description

On a clean install of Foreman, you get two copies of the "epel" snippet and six copies of the "HTTP proxy" snippet.

For epel, the snippet is automatically added in db/migrate/20101125153351_add_default_templates.rb, which adds every known snippet. It's then added as well by 20120604114049_add_epel_snippets.rb which doesn't check if it's already defined.

For HTTP proxy, the snippet is also added by 20110420150600_add_solaris_templates.rb for every template type without checking if it exists.

Actions #1

Updated by Dominic Cleal almost 11 years ago

  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Dominic Cleal almost 11 years ago

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

Also available in: Atom PDF