Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-08 Thread Luke Bigum
Hi, No, that is impossible to do. Once a class is declared it cannot be undeclared. Puppet is an additive model. The way that node inheritance works means you can *NOT* even do this: class prod_scripts { if ($actually_do_prod_scripts) { ... ... } } node prod_base { include prod

Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-08 Thread Munna S
Team, can someone help me Thanks, Jeeva On Mon, May 7, 2012 at 10:39 AM, Munna S <19.mu...@gmail.com> wrote: > Hi Team, > > sorry for the delay. My setup is like this. > > we have a 2 .pp file. one for production ( prod_base.pp) and other for > development ( dev_base.pp) under /etc/puppet/mani

Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-07 Thread Munna S
Hi Team, sorry for the delay. My setup is like this. we have a 2 .pp file. one for production ( prod_base.pp) and other for development ( dev_base.pp) under /etc/puppet/manifests/nodes . we have included the respective module in these 2 .pp files. for eg: prod_base.pp has the below content

Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-02 Thread Dan White
- Munna S <19.mu...@gmail.com> wrote: > Team, > > Any help? > > Thanks, > Jeeva > > On Wed, May 2, 2012 at 9:24 AM, Munna S <19.mu...@gmail.com> wrote: > > > Team, > > > > Is there any way where we can exclude certain module from the inherited > > list > > > > Thanks, > > Munna > > http:/

Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-02 Thread Luke Bigum
Hi, I don't understand what you mean by "inherit list". Module inheritance is like this: class woof inherits meow { ... } ... and there's no list, it's a single class. Are you talking about pluginsync and defined modules on a Puppet Master? Can you describe your problem in another way or r

[Puppet Users] Re: how to exclude modules from inherited list

2012-05-02 Thread Munna S
Team, Any help? Thanks, Jeeva On Wed, May 2, 2012 at 9:24 AM, Munna S <19.mu...@gmail.com> wrote: > Team, > > Is there any way where we can exclude certain module from the inherited > list > > Thanks, > Munna > -- You received this message because you are subscribed to the Google Groups "Pup