From: Matthias Saou <[email protected]>

The sysconfig file shipped on Red Hat systems includes a PUPPET_PORT
variable.  When set, this should specify the port used by puppet to
connect to the puppetmaster.  The init script was incorrectly passing
this argument via the --port option, which sets the port on which
puppetd listens.

Signed-off-by: Todd Zullinger <[email protected]>
Signed-off-by: James Turnbull <[email protected]>
---
 conf/redhat/client.init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/redhat/client.init b/conf/redhat/client.init
index a14444f..a5ac08d 100644
--- a/conf/redhat/client.init
+++ b/conf/redhat/client.init
@@ -25,7 +25,7 @@ RETVAL=0
 PUPPET_OPTS=""
 [ -n "${PUPPET_SERVER}" ] && PUPPET_OPTS="--server=${PUPPET_SERVER}"
 [ -n "$PUPPET_LOG" ] && PUPPET_OPTS="${PUPPET_OPTS} --logdest=${PUPPET_LOG}"
-[ -n "$PUPPET_PORT" ] && PUPPET_OPTS="${PUPPET_OPTS} --port=${PUPPET_PORT}"
+[ -n "$PUPPET_PORT" ] && PUPPET_OPTS="${PUPPET_OPTS} 
--masterport=${PUPPET_PORT}"
 
 # Figure out if the system just booted. Let's assume
 # boot doesn't take longer than 5 minutes
-- 
1.6.0.6


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to