.patch file attached.

Hash of the commit is f8e13a2
<https://github.com/chamilad/stratos/commit/f8e13a2be6c521b88e08fddbb795e0db6fa88829>.



Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com




On Mon, Aug 18, 2014 at 9:46 AM, Chamila De Alwis <chami...@wso2.com> wrote:

> Yeah. I'll commit a patch soon. Thanks Dakshika for pointing out!
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
>
> On Mon, Aug 18, 2014 at 8:35 AM, Dakshika Jayathilaka <daksh...@wso2.com>
> wrote:
>
>> seems this pull contain chef modifications as wel?
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>>
>> On Fri, Aug 15, 2014 at 2:17 AM, Chamila De Alwis <chami...@wso2.com>
>> wrote:
>>
>>> It seems I pasted the wrong link. Sorry! :)
>>>
>>> Please refer to this link [1]
>>>
>>> [1] - https://github.com/apache/stratos/pull/15
>>>
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>>
>>> On Thu, Aug 14, 2014 at 10:03 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>>> Hi Chamila,
>>>>
>>>> Your link does not refer to a pull request. It refers to your Stratos
>>>> folk.
>>>>
>>>> Folk Stratos repo
>>>> Clone your folked repo
>>>> Commit and push changes to your repo
>>>> Send a pull request from your repo to Stratos repo
>>>>
>>>>
>>>>
>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>
>>>
>>>
>>
>
From f8e13a2be6c521b88e08fddbb795e0db6fa88829 Mon Sep 17 00:00:00 2001
From: Chamila de Alwis <chami...@wso2.com>
Date: Thu, 14 Aug 2014 18:15:22 +0530
Subject: [PATCH] Removed unused variables in init.sh in puppet agent

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

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

Reply via email to