Hi Raj, I hope this is similar to puppet, where we keep some default carbon sever > configuration template files and change parameters using tags, etc. Please > confirm it.
Configurator changes the parameters in default carbon server configurations files by reading parameters from a file. This is similar to puppet. I would like to see the format of the file from which Configurator reads > the configurations. Can you please paste that here? Please find the sample configurations file below. [DEFAULTS] clustering=true members={"mgt.as.wso2.com": 4100,"as.wso2.com": 4300} localMemberHost= 127.0.1.1 localMemberPort= 4100 subDomain= mgt stratos_instance_data_worker_host_name= as.wso2.com stratos_instance_data_mgt_host_name= mgt.as.wso2.com portOffset=1 http_proxy_port=80 https_proxy_port=443 On Tue, May 5, 2015 at 7:09 PM, Reka Thirunavukkarasu <r...@wso2.com> wrote: > Hi Anuriddha, > > Good work in getting the Configurator also with template model. As you > have mentioned, now we can process only few files. If we are to add new > files, just writing *.jinja file is enough or do we need to configure > something about this file somewhere like in puppet we mentioned in the > manifests? > > Thanks, > Reka > > On Tue, May 5, 2015 at 5:43 PM, Anuruddha Liyanarachchi < > anurudd...@wso2.com> wrote: > >> Hi Devs, >> >> I have created the $subject using python and Jinja2. Configurator is now >> capable of generating axis2.xml, Carbon.xml and catalina-server.xml based >> on clustering configurations. Following structure was used to create the >> configurator. Currently these configurations are read from a file. >> >> I will update the thread as I move on. >> . >> ├── Configurator.iml >> ├── Constants.py >> ├── Constants.pyc >> ├── Main.py >> ├── Output >> | ├── axis2.xml >> | ├── carbon.xml >> | └── catalina-server.xml >> └── Templates >> └── AppServer >> └── conf >> ├── axis2.jinja >> ├── carbon.jinja >> └── catalina-server.jinja >> >> >> On Thu, Apr 30, 2015 at 12:05 PM, Anuruddha Liyanarachchi < >> anurudd...@wso2.com> wrote: >> >>> Hi , >>> >>> I am working on $subject. I am trying create a shell script which >>> generate carbon server configuration based on parameters provided by >>> different run times. >>> >>> Configurator is basically configuring perviously used puppet templates >>> using shell. >>> Please refer mail thread subject as "[PPaaS] Private PaaS 4.1.0 Release >>> Plan" for more info. >>> >>> I will provide more information as I progress. >>> >>> -- >>> *Thanks and Regards,* >>> Anuruddha Lanka Liyanarachchi >>> Software Engineer - WSO2 >>> Mobile : +94 (0) 712762611 >>> Tel : +94 112 145 345 >>> a <thili...@wso2.com>nurudd...@wso2.com >>> >> >> >> >> -- >> *Thanks and Regards,* >> Anuruddha Lanka Liyanarachchi >> Software Engineer - WSO2 >> Mobile : +94 (0) 712762611 >> Tel : +94 112 145 345 >> a <thili...@wso2.com>nurudd...@wso2.com >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Reka Thirunavukkarasu > Senior Software Engineer, > WSO2, Inc.:http://wso2.com, > Mobile: +94776442007 > > > -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a <thili...@wso2.com>nurudd...@wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev