Issue #6112 has been updated by James Turnbull.

Target version changed from 2.6.6 to 2.6.x


----------------------------------------
Bug #6112: Puppet cert generate error message when it succeeds
https://projects.puppetlabs.com/issues/6112

Author: Jeff McCune
Status: Accepted
Priority: Normal
Assignee: 
Category: logging
Target version: 2.6.x
Affected Puppet version: development
Keywords: error cert generate
Branch: 


## Overview ##

Running puppet cert in 2.6.next f135a64 performs the desired certificate 
generation, but displays a nasty error message int he process.

## Steps to reproduce ##

    $ puppet cert --confdir ~/.puppet/conf_enc --generate foo.bar.baz 
--certdnsnames foo:foo.bar.baz:puppet
    notice: foo.bar.baz has a waiting certificate request
    notice: Signed certificate request for foo.bar.baz
    notice: Removing file Puppet::SSL::CertificateRequest foo.bar.baz at 
'/Users/jeff/.puppet/var/ssl/ca/requests/foo.bar.baz.pem'
    notice: Removing file Puppet::SSL::CertificateRequest foo.bar.baz at 
'/Users/jeff/.puppet/var/ssl/certificate_requests/foo.bar.baz.pem'
    err: Could not call generate: Could not find certificate request for 
foo.bar.baz

    $ echo $?
    0

    $ puppet cert --print foo.bar.baz
    (Works as expected, certificate was generated and signed)

## Expected Behavior ##

The error shouldn't be displayed.


-- 
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.

Reply via email to