hi all  ,
         adding more details to it.

i tried to implement this in two ways,

way 1)   created a new  module  with new puppet class in manifest that
contains  configuration of both puppet class  tomcat.pp & process.pp.

problem with approach is that  there is code replication , means that
if any changes (new file /template/ services to be deployed) is
required , then need to be done in two places.

way 2) created  a new node in LDAP that points to both puppet classes
tomcat.pp & process.pp

but with this there is problem of dependency,means that how can i
ensure that tomcat.pp must be triggered  before process.pp.?
means that tomcat and services to be deployed before runing any java
processes that would point to these services.

guide me with best practice to implement this scenario.!!!!

how can i implement this use case?

thanks,
sanjiv singh
impetus india (iLabs).



On Dec 23, 12:16 am, "sanjiv.singh" <sanjiv.si...@impetus.co.in>
wrote:
> hi all,
>         i started using puppet month before.
> i am playing with puppet , configured with LDAP.
>
> according to my requirement , i need to configure two nodes
> node 1. where tomcat an releted services to be deployed through
> puppet .
> node 2. where java processs that will point to tomcat services.
>
> for i had created two puppet classes in two different module
> tomcat.pp and process.pp.
>
> and  two node created in LDAP pointing to these puppet classes.
>
> able to fullfill above scenario with puppet .
>
> as U can visualise  node 2 should be configured after node1.
>
> what i need is ,
> both the configuration to be done one node .
> mean  both tomcat and java services to be deployed on same machine
> rather than two diff machine.
>
> i want to give customised option ....
> option 1)  deploy on same machine.
> option 2)  deploy on two diff machine.
>
> Ques : how can i implement this  with puppet  reusing existing puppet
> (module & class )  ?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to