Project

General

Profile

Bug #17719

katello:check_ping should load environment

Added by Daniel Lobato Garcia over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

If the task doesn't load the environment and is ran through `foreman-rake katello:check_ping` we get `uninitialized constant User`.
Today I wanted to use it on its own and there was no way to do it. It's listed on the list of tasks that one sees through `rake -T` so I can see more people wanting to try it out.

Associated revisions

Revision 54a25322 (diff)
Added by Daniel Lobato Garcia over 4 years ago

Fixes #17719 - katello:check_ping should load environment

If the task doesn't load the environment and is ran through
`foreman-rake katello:check_ping` we get `uninitialized constant User`.
Today I wanted to use it on its own and there was no way to do it. It's
listed on the list of tasks that one sees through `rake -T` so I can see
more people wanting to try it out.

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/Katello/katello/pull/6502 added

#2 Updated by Daniel Lobato Garcia over 4 years ago

  • Target version set to 1.15.5

#3 Updated by Anonymous over 4 years ago

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

#4 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 188

Also available in: Atom PDF