The issue is that new details are picked only for newly deployed
applications, after you change and restart. This happens because the
details for old subscriptions are kept in Registry AFAIR.

We have to fix this.

Thanks.

On Tue, Feb 17, 2015 at 6:15 PM, Imesh Gunaratne <[email protected]> wrote:

> They are read from system properties:
>
> BasicPayloadData:
>
> payloadBuilder.append("PUPPET_IP=" + System.getProperty("puppet.ip"));
> payloadBuilder.append(",");
> payloadBuilder.append("PUPPET_HOSTNAME=" + 
> System.getProperty("puppet.hostname"));
> payloadBuilder.append(",");
> payloadBuilder.append("PUPPET_DNS_AVAILABLE=" + 
> System.getProperty("puppet.env"));
> payloadBuilder.append(",");
> payloadBuilder.append("PUPPET_ENV=" + 
> System.getProperty("puppet.dns.available"));
> payloadBuilder.append(",");
>
>
> On Tue, Feb 17, 2015 at 5:32 PM, Udara Liyanage <[email protected]> wrote:
>
>> Hi,
>>
>> $subject. Though I change puppet hostname/ip in
>> cartridge-config.properties still the old details are sent to the instance.
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: [email protected] blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Reply via email to