Project

General

Profile

Actions

Bug #10495

closed

Custom repositories do not define 'metadata_expire = 1'

Added by Justin Sherrill over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1220861
Description of problem:

Currently candlepin sets redhat repos to use 'metadata_expire = 1' in the redhat.repo file.

Custom repositories do not have this set, and it is up to katello to set it.

Version-Release number of selected component (if applicable):

How reproducible:
Always

Steps to Reproduce:
1. Create a custom repo
2. Register a client
3. attach client to custom repo
4. Example /etc/yum.repos.d/redhat.repo

Actual results:
metadata_expire is not set for the custom repo

Expected results:
metadata_expire is set to 1 for the custom repo

Additional info:

Actions

Also available in: Atom PDF