Issue #19409 has been updated by Adrien Thebo.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Assignee deleted (Dominic Cleal)
Target version set to 3.2.0
Keywords set to module tool install json render-as http 410

Thank you for this contribution!

Merged into master as 4b40119.

This should be released in 3.2.0.

Thanks again for the contribution!

-Adrien
----------------------------------------
Bug #19409: puppet module errors from Puppet::Forge don't obey render mode
https://projects.puppetlabs.com/issues/19409#change-83729

Author: Dominic Cleal
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: module tool
Target version: 3.2.0
Affected Puppet version: 2.7.14
Keywords: module tool install json render-as http 410
Branch: https://github.com/puppetlabs/puppet/pull/1492


`puppet module` commands can throw errors relating to the forge which don't get 
output as per the selected render mode:

    $ puppet module --render-as json install error/error
    Notice: Preparing to install into /home/dcleal/.puppet/modules ...
    Notice: Downloading from https://forge.puppetlabs.com ...
    Error: Could not find release information for this module (error/error) 
(HTTP 410)
    Error: Try 'puppet help module install' for usage

These are raised from `Puppet::Forge` and hit the default face error rendering, 
which prints them out via logging.  Other errors (e.g. `puppet module 
--render-as json install error/error --module_repository "http://localhost"`) 
follow the render mode.

(expanded from #12260 comment 6)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to