I'd like to see a test in this, and probably a comment as to why that line is there.
On Oct 26, 2009, at 3:09 AM, James Turnbull wrote: > > Thanks for R.I. Pienaar for the fix > > Signed-off-by: James Turnbull <[email protected]> > --- > lib/puppet/parser/functions/require.rb | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/lib/puppet/parser/functions/require.rb b/lib/puppet/ > parser/functions/require.rb > index 3a2032d..a110f53 100644 > --- a/lib/puppet/parser/functions/require.rb > +++ b/lib/puppet/parser/functions/require.rb > @@ -27,6 +27,9 @@ Note that this function only works with clients > 0.25 and later, and it will > fail if used with earlier clients. > > ") do |vals| > + > + Puppet::Parser::Functions.function(:include) > + > send(:function_include, vals) > if resource.metaparam_compatibility_mode? > warning "The 'require' function is only compatible with > clients at 0.25 and above; including class but not adding dependency" > -- > 1.6.0.6 > > > > -- If you would be a real seeker after truth, it is necessary that at least once in your life you doubt, as far as possible, all things. -- Rene Descartes --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
