Issue #1372 has been updated by Fujin.
Category set to language
Status changed from Unreviewed to Needs more information
Assigned to set to luke
I can reproduce this with the current 0.24.x HEAD:
<pre>
[EMAIL PROTECTED] /tmp$ cat test.pp
#!/usr/bin/env puppet
class junglist {
notify { "I am class junglist": }
}
node junglist {
include junglist
}
[EMAIL PROTECTED] /tmp$ ./test.pp --debug
debug: Creating default schedules
debug: Finishing transaction -609513118 with 0 changes
</pre>
Luke, can you please clarify if this is desired behaviour? Should we at least
be throwing a top-level duplicate class error?
----------------------------------------
Bug #1372: Class names that match the node name are not evaluated
http://reductivelabs.com/redmine/issues/show/1372
Author: digant
Status: Needs more information
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
-~----------~----~----~----~------~----~------~--~---