[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-02-27 Thread Alessandro Franceschi
Can you post example your puppi define? And the output of puppi deploy ? Has your Tomcat autodeploy activated? On Monday, February 25, 2013 10:42:21 PM UTC+1, Krishna Murthy T wrote: > > Hello Alessandro, > > Thanks again for your reply, > > I managed to install puppi on some of my network nodes

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-02-25 Thread Krishna Murthy T
Hello Alessandro, Thanks again for your reply, I managed to install puppi on some of my network nodes today by following your instrunctions, but I got below problem. When ever I do 'puppi deploy ' it is deleting everything under tomcat webapps directory by not creating anything so effectively

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-02-23 Thread Alessandro Franceschi
In order to use puppi ,as any other module, you have to include or declare the class it provides. So, edit a file, (outside the puppi module, you should not add or change anything in the module ), for example: test.pp. Write there: include puppi to include puppi and the two defines puppi::p

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-02-23 Thread Krishna Murthy T
Hello Alessandro, Thanks again for your prompt reply, I tried using Puppi but no success, if you don't mind, can you please answer below basic questions. 1) I have installed puppi as puppet module using 'puppet module install example42-puppi' and that has created the Puppet module as expected

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-02-22 Thread Alessandro Franceschi
Hi Krishna, to deploy 2 different wars you can place 2 different puppi defines on the same node: puppi::project::war { 'myapp': source => "http://repo.example42.com/deploy/${environment}/myapp.war";, deploy_root => '/store/tomcat/webapps', } puppi::project::war { 'other':

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-02-22 Thread Krishna Murthy T
Hello Alessandro, Thank you very much for your quick reply, now it is bit more clear to me and I will start implementing Puppi today. One more quick question :-) I need to deploy two 'war' files to the same server, which means same 'deploy_root' but two 'war' files and I don't think I can use

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-02-21 Thread Alessandro Franceschi
Hi Krishna, the execution of a "puppi deploy myapp" is not done generally via Puppet (Puppet creates the environment that allows you to make a deploy with a puppi deploy command, you can also trigger a "puppi deploy myapp" execution via Puppet but that's not common if not for first time setup )

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-02-21 Thread Krishna Murthy T
Hello Alessandro, I found Puppi very interesting and want to use it along side our Puppet environment. Can you please give me an idea about how to deploy same and different 'war' files to different environments using Puppi? I have several node definitions in my Puppet manifest each serving di

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-01-17 Thread Alessandro Franceschi
Oh, I was forgetting, Puppi is also a required dependency of all Example42 modules, since it provides some functions used by these modules. Note anyway that you can decide to use these modules without using puppi in any way (that is to not install the command and its working environment on your

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-01-17 Thread Alessandro Franceschi
Hi, Puppi is a shell tool, installed and configured bythe omonimous Puppet module, that has basically 2 functions: 1- Manage application deployments 2- Provide an handy bash command with data driven by Puppet For the first task there are a bunch of puppet defines that allow you to define a deplo