Issue #7701 has been updated by Ben Hughes.

Status changed from Unreviewed to Needs Decision
Assignee set to Nigel Kersten


----------------------------------------
Bug #7701: Using the new certificate face to generate a cert requires to pass 
--ca-location
https://projects.puppetlabs.com/issues/7701

Author: Peter Meier
Status: Needs Decision
Priority: Normal
Assignee: Nigel Kersten
Category: Faces
Target version: 2.7.x
Affected Puppet version: 2.7.0rc3
Keywords: faces, certificate
Branch: 


On today's 2.7.x branch, when trying to generate a certificate with the 
certificate faces, I need to pass --ca-location, although it should imho be 
possible to derive this option from the puppet config.

<pre>
# RUBYLIB=lib/ ./bin/puppet certificate generate foobar --debug --trace
./lib/puppet/application/certificate.rb:6:in `setup'
./lib/puppet/application.rb:305:in `run'
./lib/puppet/application.rb:411:in `hook'
./lib/puppet/application.rb:305:in `run'
./lib/puppet/application.rb:402:in `exit_on_fail'
./lib/puppet/application.rb:305:in `run'
./lib/puppet/util/command_line.rb:62:in `execute'
./bin/puppet:4
Could not prepare for execution: You must have a CA location specified;
use --ca-location to specify the location (remote, local, only)
</pre>

It should default to what I have in the config, as this is likely what I like 
todo.


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