Issue #2699 has been updated by Matthias Saou.

Todd Zullinger wrote:
> To echo myself from puppet-users, I think this might be something that has is 
> not entirely clear in the client.sysconfig comments.  The commented out port 
> number for PUPPET_PORT is 8140, which would make you think it's intended to 
> specify the port to connect to the puppetmaster.  If that's the case, then we 
> should be using --masterport in the init script and perhaps add a 
> PUPPET_LISTEN_PORT to use with the --port option.
> 
> OTOH, if PUPPET_PORT is intended to specify the port that puppetd listens on, 
> then we should make that clear in the comments above the PUPPET_PORT setting 
> in the sysconfig file and likely add a PUPPETMASTER_PORT setting as well so 
> that port --port and --masterport can be configured by the user via the 
> sysconfig file.
> 
> (Of course, it's also possible that it's simply too early for me to think 
> clearly and that I'm missing something obvious.)

Everything I wrote is for the client init script only. I think that the 
existing conf/redhat/client.sysconfig entry is explicit enough with its "to 
connect to" :
<pre>
# If you wish to specify the port to connect to do so here
#PUPPET_PORT=8140
</pre>

As for the server, it has different sysconfig and init script files as 
"puppetmaster" instead of the client's "puppet" and the option to control the 
port to listen on is PUPPETMASTER_PORTS, so no overlapping or possible 
confusion here.
----------------------------------------
Bug #2699: Configurable port in the included Red Hat init script is broken
http://projects.reductivelabs.com/issues/2699

Author: Matthias Saou
Status: Needs design decision
Priority: Normal
Assigned to: Todd Zullinger
Category: Red Hat
Target version: 0.25.1
Affected version: 0.25.1rc1
Keywords: 
Branch: 


The conf/redhat/client.init file uses the --port option to try and set the 
puppetmaster port, but this option is not valid (anymore?), and --masterport 
should be used instead.


-- 
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://reductivelabs.com/redmine/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