Project

General

Profile

Bug #33369

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

Added by Nacho Barrientos about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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

Has duplicate Foreman - Bug #33671: don't warn about apipie cache when using "rake config"Ready For Testing

History

#1 Updated by Ewoud Kohl van Wijngaarden 4 days ago

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

Also available in: Atom PDF