Doug, I wonder why you can't selectively include? Requiring a module by default and not realizing the resources inside it could be very frustrating to troubleshoot.
On Thu, Apr 7, 2011 at 5:29 PM, Nigel Kersten <ni...@puppetlabs.com> wrote: > On Thu, Apr 7, 2011 at 3:28 PM, Douglas Garstang > <doug.garst...@gmail.com> wrote: > > I'd like to be able to always include all modules at the top level, but > in > > certain modules, have some logic that uses extlookup to determine if it > > should be enabled. What's the best way to use if; then; else to exit a > > module, and stop processing, based on some condition? > > class foo { > > if $somecondition { > > <do all your stuff> > > } > > } > > Doesn't that do it inside the module for you? > > -- > 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.