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
---------------------------------------------------
node prod_base {
        # Prod Module
        include prod_scripts
        include prod_disabled_services
        include prod_apache
}
--------------------------------------------------
now we also have a different .pp file for individual servers under
/etc/puppet/manifests/nodes by name servername.pp. for eg:

server1.pp, server2.pp etc.. content of the server1.pp file is as below

-------------------------------------------------
node server1 inherits prod_base {
}
-------------------------------------------------


now server1 inherits all the module which is mentioned in prod_base.pp.

now my requirements is to exclude some of the modules from prod_base.pp for
server server1.pp. How i can exclude certain module from the inherited
list?

Thanks,
Jeeva






On Wed, May 2, 2012 at 11:33 AM, Dan White <y...@comcast.net> wrote:

> ----- 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://www.catb.org/~esr/faqs/smart-questions.html
>
> Two comments: I think you are a bit impatient, and I think there is
> insufficient detail/info to formulate an answer.
>
> “Sometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has tried to contact us.”
> Bill Waterson (Calvin & Hobbes)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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