Issue #6290 has been updated by Dominic Maraglia.

Priority changed from Urgent to Normal

Well, I have been running the harness with my hack for a long time now, so I 
guess this is no longer urgent!
----------------------------------------
Bug #6290: class PuppetCommand breaking run_agent_on
https://projects.puppetlabs.com/issues/6290

Author: Dominic Maraglia
Status: Needs Decision
Priority: Normal
Assignee: Markus Roberts
Category: Harness
Target version: 
Patch: None
Keywords: ssldir run_agent_on
Branch: 


In lib/command.rb:


<pre>
class PuppetCommand < Command
  def initialize(sub_command, *args)
    @sub_command = sub_command
    @options = args.last.is_a?(Hash) ? args.pop : {}
    @options[:vardir] ||= '/tmp'
    @options[:confdir] ||= '/tmp'
    @options[:ssldir] ||= '/tmp'
    @args = args
  end
</pre>


Addition of "--ssldir" is breaking run_agent_on calls:


<pre>
[root@rhel-55-64-1 ~]# puppet agent --no-daemonize --verbose --onetime --test 
info: Retrieving plugin
info: Caching catalog for rhel-55-64-1
info: Applying configuration version '1297449042'
notice: Finished catalog run in 0.25 seconds



[root@rhel-55-64-1 ~]# puppet agent --no-daemonize --verbose --onetime --test 
--vardir=/tmp 
info: Retrieving plugin
info: Caching catalog for rhel-55-64-1
info: Applying configuration version '1297449042'
notice: Finished catalog run in 0.15 seconds



[root@rhel-55-64-1 ~]# puppet agent --no-daemonize --verbose --onetime --test 
--ssldir=/tmp
err: Could not request certificate: Retrieved certificate does not match 
private key; please remove certificate from server and regenerate it with the 
current key
Exiting; failed to retrieve certificate and waitforcert is disabled

</prev>




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