Project

General

Profile

Actions

Bug #33369

open

Print warnings subceptible to show up in a console session to stderr

Added by Nacho Barrientos over 2 years ago.

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

Description

The two lines that are output of this command:

# foreman-rake -- config -k rss_enable
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
false

are both printed to stdout. Whereas this might be okay for humans, it makes the life of some programs harder, like the foreman_config_entry type/provider shipped by https://github.com/theforeman/puppet-foreman. There's detailed information about why this is an issue here:

https://github.com/theforeman/puppet-foreman/issues/989

It'd be nice if Apipie warnings produced by apipie.rb (https://github.com/theforeman/puppet-foreman/issues/989) were send to stderr instead.


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #33671: don't warn about apipie cache when using "rake config"ClosedEvgeni GolovActions
Actions #1

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Has duplicate Bug #33671: don't warn about apipie cache when using "rake config" added
Actions

Also available in: Atom PDF