Issue #16103 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to Joe McDonagh
Hi Joe, thanks for the report--could you please add a minimal script or code example of how to reproduce this? ---------------------------------------- Bug #16103: puppet cert -g fails weirdly if executed with no terminal, such as with Open4.popen https://projects.puppetlabs.com/issues/16103#change-70538 Author: Joe McDonagh Status: Needs More Information Priority: Normal Assignee: Joe McDonagh Category: Target version: Affected Puppet version: Keywords: Branch: Hi, I have a script that I use to instantiate new nodes, and I do server-side cert generation so part of the process is to call puppet cert -g. I recently re-worked the script to be a little more robust, and I replaced all the backtick executions with Open4.popen. Now, on the part where certs are generated, it makes the request, and keys, but the request isn't signed or removed, there is no cert at all, and nothing is put out to stderr or stdout. I suspect it has to do with the Puppet::Util::Log.newdestination :console line, since there is no console maybe something down the line breaks, but the code is a little hard for me to follow down there. To me, this script should be able to run console or not, since it makes automation pretty easy if you're generating keys from a central spot, and handling distribution through conventional means yourself. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
