Hi, On 01/17/2012 04:11 PM, jcbollinger wrote: > The first is simpler only if you get lucky, and you don't intend to > modify your manifests ever again.
basically correct, but you can even play it safe: You must make sure each and every invocation of the resource in question is protected by such an if defined(), ever. Yes, it's terrible design. Is there a good reason that this function is even retained in recent versions of puppet? I have yet to encounter an instance where it can be used cleanly. Cheers, Felix -- 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.