This closes #15

Removed unused variables in init.sh in puppet agent


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/c2ee6827
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/c2ee6827
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/c2ee6827

Branch: refs/heads/4.0.0-grouping
Commit: c2ee6827b898707c7bcbde6e8cdc77da8e064448
Parents: 395994d
Author: Udara Liyanage <[email protected]>
Authored: Wed Aug 20 11:23:52 2014 +0530
Committer: Udara Liyanage <[email protected]>
Committed: Wed Aug 20 11:23:52 2014 +0530

----------------------------------------------------------------------
 tools/puppet3-agent/init.sh | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/c2ee6827/tools/puppet3-agent/init.sh
----------------------------------------------------------------------
diff --git a/tools/puppet3-agent/init.sh b/tools/puppet3-agent/init.sh
index 172bf54..9627416 100755
--- a/tools/puppet3-agent/init.sh
+++ b/tools/puppet3-agent/init.sh
@@ -35,11 +35,7 @@ SLEEP=`which sleep`
 TR=`which tr`
 HEAD=`which head`
 WGET=`which wget`
-PUPPETD=`which puppet`
-AGENT="agent"
-PUPPETAGENT="${PUPPETD} ${AGENT}"
 
-COMMAND="${PUPPETAGENT} -vt"
 IP=`${IFCONFIG} eth0 | ${GREP} -e "inet addr" | ${AWK} '{print $2}' | ${CUT} 
-d ':' -f 2`
 LOG=/tmp/puppet-init.log
 
@@ -47,11 +43,6 @@ HOSTSFILE=/etc/hosts
 HOSTNAMEFILE=/etc/hostname
 PUPPETCONF=/etc/puppet/puppet.conf
 
-read_master() {
-       ${COMMAND}
-}
-
-
 is_public_ip_assigned() {
 
 while true

Reply via email to