On Jan 20, 3:38 am, Nan Liu <n...@puppetlabs.com> wrote: > So there is a patch for your specific use case. We should at least > differentiate defined vs. declared and a patch was written to split > off defined() vs. declared(): > > http://projects.puppetlabs.com/issues/3124 > > The warning is simply: > > Puppet.warning "Detecting puppet resource via defined() function is > deprecated, use declared(). Detecting whether a class or resource type > is defined is still supported." > > I think this part of the functionality makes sense to retain. For > those who care, feel free to take a peak at the > code:https://github.com/nanliu/puppet/tree/ticket/2.7.x/3124
So perhaps declared() should be deprecated, with the suggestion to use it being removed from the warning message emitted by defined(). John -- 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.