Project

General

Profile

Actions

Bug #5100

closed

foreman content: issues with creating content

Added by Brad Buckingham about 10 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

As part of managing content in katello, it needs to also create content within foreman (e.g. install media, operating systems...etc) at the appropriate points in time (e.g. repo synchronization, content view publish & promotion).

There are a couple of issues with the current implementation that need to be addressed:
1. Do not create foreman content (install media, OS...etc) when creating a repo in the default content view (i.e. Library)
2. Do not blindly create install media, if it already exists (e.g. rather than Medium.create! do Medium.find_or_create_medium)

Actions

Also available in: Atom PDF