Bug #12242
/opt/puppet/bin/puppet ca list breaks
| Status: | Investigating | Start date: | 01/27/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Keywords: | Affected URL: | |||
| Branch: | Affected PE version: | |||
| Votes: | 0 |
Description
PE 2.0.1
modules:rcf-cm-master# /opt/puppet/bin/puppet ca list
err: undefined method `+' for nil:NilClass
err: Try 'puppet help ca list' for usage
modules:rcf-cm-master#
History
Updated by Michael Stahnke 4 months ago
- Status changed from Unreviewed to Investigating
Does it work if you add —all ?
This sounds familiar. It might be a duplicate of a Puppet bug, but I wasn’t able to track it down yet.
Updated by Jeff Blaine 4 months ago
manifests:rcf-cm-master# /opt/puppet/bin/puppet ca list --all
err: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key
err: Try 'puppet help ca list' for usage
manifests:rcf-cm-master#
FWIW, I don’t really care about the result here. I was just poking around and saw a Ruby error that shouldn’t be exposed to customers, so reported it.
Updated by Nigel Kersten 4 months ago
Shouldn’t this be ‘puppet cert’, not ‘puppet ca’ ?
Updated by Jeff Blaine 4 months ago
‘puppet ca’ is a valid command with a ‘list’ subcommand.