Hi Udara, I'm asking the existing method in af devsetup. As I observed it is similar to method 2 in your suggestions.
Thanks, Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile : +94 777636406 Twitter : *https://twitter.com/roshku <https://twitter.com/roshku>* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Thu, Nov 13, 2014 at 12:36 AM, Udara Liyanage <[email protected]> wrote: > Hi Roshan, > > As you mentioned Stratos uses puppet to do co figurations of cartridge > agent and other service softwares. > If you can not use puppet (which is the recommend approach) > > 1) Need to hardcode the values and pack agent > You will have to repack agent if those parameters changed. > 2) Send the values as payload and write a shell script to pick them from > payload and set in agent and start agent. You can call the script at > instance startup if you call the script in /etc/rc.local > > > > Touched, not typed. Erroneous words are a feature, not a typo. > On Nov 12, 2014 6:59 PM, "Roshan Deniyage" <[email protected]> wrote: > >> Hi Devs, >> In App-Fac dev setup, cartridge agent has modified with some manual >> settings as I observed. For example active-mq client libraries has included >> in the agent pack which original pack doesn't have. (Normally in stratos >> those customization are done by puppet inside the cartridge itself.) >> >> My, issue is inside the cartridge agent there is a property file called >> "jndi.properties" and the "mb_ip" and "mb_port" parameters in that file >> needs to be replaced with actual values. In which step and by whom those >> customization are done? >> >> (When puppet is present with cartridges that is done by puppet, but in >> dev setup no puppet is used). >> >> Any comment would be appreciated. >> >> >> >> Roshan Deniyage >> Associate Technical Lead >> WSO2, Inc: http://wso2.com >> >> Mobile : +94 777636406 >> Twitter : *https://twitter.com/roshku <https://twitter.com/roshku>* >> LinkedIn : https://www.linkedin.com/in/roshandeniyage >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
