Re: [Puppet Users] Re: puppet for customised configuration

2010-12-23 Thread Patrick
On Dec 23, 2010, at 6:39 AM, sanjiv.singh wrote: > >> This should be very easy, provided your classes do not conflict. A >> node can include any number of classes, so all you have to do is >> change this: >> >> >> node node1 { >> include >> >> } >> >> node node2 { >> include }

[Puppet Users] Re: puppet for customised configuration

2010-12-23 Thread sanjiv.singh
> This should be very easy, provided your classes do not conflict.  A > node can include any number of classes, so all you have to do is > change this: > > > node node1 { >     include > > } > > node node2 { >     include } > > > > to this: > > > node node3 { >     include >     i

[Puppet Users] Re: puppet for customised configuration

2010-12-22 Thread jcbollinger
On Dec 22, 1:39 pm, "sanjiv.singh" wrote: > 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. Are you using

[Puppet Users] Re: puppet for customised configuration

2010-12-22 Thread jcbollinger
On Dec 22, 1:16 pm, "sanjiv.singh" 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 . > nod

[Puppet Users] Re: puppet for customised configuration

2010-12-22 Thread sanjiv.singh
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