udara answered only one question. can udara/concerned person, please respond to various other questions asked below(inline would be better).
I know I am asking too much questions. but, i have no choice as iam doing evaluation for my client. ________________________________ From: Maria Beckham <mariabeckha...@yahoo.com> To: "dev@stratos.apache.org" <dev@stratos.apache.org> Sent: Wednesday, June 25, 2014 10:09 PM Subject: Re: tomcat and mysql cartridge(Please respond) What about responses to other various questions I have asked below.? ________________________________ From: Udara Liyanage <ud...@wso2.com> To: dev@stratos.apache.org; Maria Beckham <mariabeckha...@yahoo.com> Sent: Wednesday, June 25, 2014 10:07 PM Subject: Re: tomcat and mysql cartridge(Please respond) Hi, Package repo is not used anywhere. You can ignore it. On Thu, Jun 26, 2014 at 10:26 AM, Maria Beckham <mariabeckha...@yahoo.com> wrote: Thanks Uday. I have gotten the concept. > > >First of all, my questions were mostly on .json definition file > > >For example: > >a) What does the below mean? Why provider is shown as apache and version as 7? Are we saying php version 7 and is from > apache.org? > type":"php", > "provider":"apache", > , > "version":"7", >b) How does .json would like say we created a puppet manifest to have tomcat and mysql on same cartridge? > >Secondly, > > The doc says that default service-name is puppet agent install and is a generic cartridge. If I provide service name as > mysql, would it also install puppet agent? > >Thirdly, > > In the base puppet manifest, I see the following and would like to know what does these mean? Especially, would like to > know from where this ip 10.4.128.7' came from? > > $package_repo = 'http://10.4.128.7' > $local_package_dir = '/mnt/packs' > > In the nodes.pp, I see the below and would like to know what is this > with respect to above values in base manifest > $local_package_dir = '/mnt/packs' > >Fourth'ly, > > In tomcat manifest init.pp, I see the target set as /mnt and not /mnt/packs. Why this is different to the above? > > $target = '/mnt' > > Fifth'ly, > > > If at all, if I want to create oracle cartridge, i need to create puppet >module manifests and templates right? And here I have choice to pickup the >binary(source => "puppet:///modules/java/${package}",) just like how java >module is created or pickup the os specific way of picking up package >command(Package['mysql-server'],) just like mysql puppet module manifest was >created > > > >Please kindly respond with details of the working etc. > > > > > > > > > > >________________________________ > From: Udara Liyanage <ud...@wso2.com> >To: dev@stratos.apache.org; Maria Beckham <mariabeckha...@yahoo.com> >Sent: Wednesday, June 25, 2014 8:55 PM >Subject: Re: tomcat and mysql cartridge(Please respond) > > > >HI, > > >MySQL and tomcat cartridges are already available with Stratos. Please refer >to the cartridge creation guide on [1] > > >When you execute config.sh it will ask for service name depending on which the >required software are installed. >Please provide stratos service-name: php > > > >config.sh talks to puppet master to install the software. So if you want to >install tomcat and mysql in the same instance, >then you would have to change the puppet accordingly. > > >[1]https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack > > > > >On Thu, Jun 26, 2014 at 8:00 AM, Maria Beckham <mariabeckha...@yahoo.com> >wrote: > >Hi All, >> >> >>Can someone please respond to below questions of mine as I am stuck at this >>point along with config.sh error that I have sent earlier to which also I >>haven't received response. >> >> >>thanks, >>maria >> >> >> >>________________________________ >> From: Maria Beckham <mariabeckha...@yahoo.com> >>To: Maria Beckham <mariabeckha...@yahoo.com>; "dev@stratos.apache.org" >><dev@stratos.apache.org> >>Sent: Wednesday, June 25, 2014 6:15 PM >>Subject: Re: tomcat and mysql cartridge >> >> >> >>I meant sample definition file on wiki docs is not helpful at this time. >> >> >> >> >> >> >> >> >>________________________________ >> From: Maria Beckham <mariabeckha...@yahoo.com> >>To: "dev@stratos.apache.org" <dev@stratos.apache.org>; Maria Beckham >><mariabeckha...@yahoo.com> >>Sent: Wednesday, June 25, 2014 6:02 PM >>Subject: Re: tomcat and mysql cartridge >> >> >> >>sample definition files are not helpful at this time. >> >> >>how to create definition files for diffferent version of tomcat and mysql as >>an example. >> >> >>Also, can install tomcat and mysql on an instance before i create cartridge >>image on that instance? So that when i subcribe to this created cartridge, >>the vm that gets spawned will have tomcat instance and mysql running. >> >> >>if so, how to specify definition file? >> >> >> >> >> >> >>________________________________ >> From: Maria Beckham <mariabeckha...@yahoo.com> >>To: "dev@stratos.apache.org" <dev@stratos.apache.org> >>Sent: Wednesday, June 25, 2014 3:25 PM >>Subject: tomcat and mysql cartridge >> >> >> >>Hi All, >> >> >>I am in process of creating a cartridge for tomcat and mysql. >> >> >>can you provide cartridge defintion files for both. Bcoz, I am not sure >>whether to specify tomcat download location, version etc to get installed, to >>provide install commands etc when a cartridge vm is spawned. >> >> >>I would like to have a cartridge that would spawn a vm and install and run >>tomcat etc. same thing for mysql. >> >> >>Also, can we create one cartridge definition that installs and run both >>tomcat and mysql in one cartridige vm that gets spawned? >> >> >>thanks, >> >> >> >> >> >> >> >> > > > >-- > > >Udara Liyanage >Software Engineer >WSO2, Inc.: http://wso2.com >lean. enterprise. middleware > > >web: http://udaraliyanage.wordpress.com >phone: +94 71 443 6897 > > > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897