[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. c845591a6888f5d9c9553d862c9f49c5fe349d4d

Micah Anderson micah at riseup.net
Wed Apr 30 11:42:30 UTC 2008


The following commit has been merged in the master branch:
commit d9734944a03d76ec16046bd7e4bb85764d72e61a
Author: Micah Anderson <micah at riseup.net>
Date:   Wed Apr 30 07:22:42 2008 -0400

    Remove bashisms in puppetmaster.init

diff --git a/debian/changelog b/debian/changelog
index 34ac6d1..d761bce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+puppet (0.24.4-6) unstable; urgency=low
+
+  * Remove bashisms in puppetmaster.init
+
+ -- Micah Anderson <micah at debian.org>>  Wed, 30 Apr 2008 07:21:32 -0400
+
 puppet (0.24.4-5) unstable; urgency=low
 
   * Fix missing --pidfile piece for mongrel startup and make 
diff --git a/debian/puppetmaster.init b/debian/puppetmaster.init
index 7feeaf2..b3b68c2 100644
--- a/debian/puppetmaster.init
+++ b/debian/puppetmaster.init
@@ -41,8 +41,8 @@ start_puppetmaster() {
 	while [ $NUMSTART -lt $PUPPETMASTERS ]; do 
 	    start-stop-daemon --start --quiet --pidfile=/var/run/puppet/$NAME-$PORT.pid \
 		--startas $DAEMON -- $DAEMON_OPTS --masterport=$PORT --pidfile=/var/run/puppet/$NAME-$PORT.pid
-	    let PORT=PORT+1 
-	    let NUMSTART=NUMSTART+1 
+	    PORT=$(($PORT + 1))
+	    NUMSTART=$(($NUMSTART + 1))
 	done
     else
 	start-stop-daemon --start --quiet --pidfile /var/run/puppet/$NAME.pid \
@@ -57,8 +57,8 @@ stop_puppetmaster() {
 	while [ $NUMSTART -lt $PUPPETMASTERS ]; do 
 	    start-stop-daemon --stop --quiet --pidfile /var/run/puppet/$NAME-$PORT.pid
 	    rm /var/run/puppet/$NAME-$PORT.pid
-	    let PORT=PORT+1 
-	    let NUMSTART=NUMSTART+1 
+	    PORT=$(($PORT + 1))
+	    NUMSTART=$(($NUMSTART + 1))
 	done
     else
 	start-stop-daemon --stop --quiet --pidfile /var/run/puppet/$NAME.pid

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list