Issue #1372 has been updated by luke. Status changed from Needs more information to Accepted
There should actually be an exception there, I'm pretty sure. I know my intention was that this throw an exception, because I haven't been all that careful to make sure naming collisions don't cause problems, so I knew an exception was important. Probably the right move, at this point, is to make the ASTSet in parser/parser_support.rb into a class, which can then do validation as nodes et al are added. ---------------------------------------- Bug #1372: Class names that match the node name are not evaluated http://reductivelabs.com/redmine/issues/show/1372 Author: digant Status: Accepted Priority: Normal Assigned to: luke Category: language Target version: Keywords: Complexity: Unknown Patch: None Affected version: 0.24.4 If I setup: class subversion { warning("I am class subversion") } and in my nodes.pp I have node subversion { include subversion } When i run puppet in verbose mode on subversion, I never see that warning. ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
