Issue #6112 has been updated by Charlie Sharpsteen.

Assignee set to Charlie Sharpsteen

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

* Author: Jeff McCune
* Status: Needs More Information
* Priority: Normal
* Assignee: Charlie Sharpsteen
* Category: logging
* Target version: 
* Affected Puppet version: development
* Keywords: error cert generate customer
* 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 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