Issue #16189 has been updated by Henrik Lindberg.

Started to look into this.

The config command is a face, and relies on ´Puppet::Application::FaceBase´ to 
handle the ´--mode´ option. 
At the start of ´FaceBase´, it calls ´run_mode :agent´ which supposedly should 
be replaced with the wanted run mode, it later calls 
`self.class.run_mode(arg.to_sym)` where arg is the arg to `--mode`. 

Changing the default `run_mode :agent` to `run_mode :master` has no effect.

On the surface, it looks like it is doing what the 
`Puppet::Application::Master` is doing as it starts with `run_mode :master`.
----------------------------------------
Bug #16189: puppet config print and --configprint disagree
https://projects.puppetlabs.com/issues/16189#change-70848

Author: Patrick Carlisle
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 3.0.0
Affected Puppet version: 3.0.0-rc5
Keywords: 
Branch: 


    thinky:puppet:% puppet master --configprint ssldir                          
                                                                                
                            <3.x>
    /etc/puppet/ssl
    thinky:puppet:% puppet config print ssldir --mode master                    
                                                                                
                            <3.x>
    /home/patrick/.puppet/ssl


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