Hi Imesh, Thanks for the input. CartridgeConfigFileReader reads property file and expose as system variables.
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 > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897
