Project

General

Profile

Actions

Feature #17807

open

Will be handy to have the equivalent of rails runner in foreman-rake

Added by Partha Aji over 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Rake tasks
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

In a production environment I ve had to use "foreman-rake console" quite a few times to get information about objects while debugging customer instances. I know rails provides a "rails runner" script that can be used to run and fetch/execute data.

Would be nice to have a handy script to say something like "foreman-rake runner EVAL='Hostgroup.find(5).inspect'". We can then just ask the customer to run that line and get information.

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4122 added
Actions #2

Updated by The Foreman Bot almost 7 years ago

  • Status changed from Ready For Testing to New
  • Assignee deleted (Partha Aji)
  • Pull request deleted (https://github.com/theforeman/foreman/pull/4122)
Actions

Also available in: Atom PDF