Project

General

Profile

Bug #2358

Duplicate epel and HTTP Proxy snippets added in migrations

Added by Dominic Cleal about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
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.

Associated revisions

Revision 0fd91b46 (diff)
Added by Dominic Cleal about 6 years ago

fixes #2358 - remove duplicate epel/HTTP proxy snippets

History

#1 Updated by Dominic Cleal about 6 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Dominic Cleal about 6 years ago

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

Also available in: Atom PDF