On Tuesday, November 20, 2012 3:32:07 PM UTC-6, llowder wrote: > > I was going through the open bugs and came across an interesting one[1], > where if a node has a certain name, and includes a class of the same name, > the class doesn't get loaded. > > I did discover a workaround - two of them, actually. > > However, I was somewhat curious. Is this something people do? >
Some people do create "node classes", but as you can imagine, it doesn't scale very well. Nevertheless, it shouldn't break. I wonder whether you can work around the issue by using the absolute name of the class, like this: node 'centos' { include '::centos' } Likewise, I wonder whether you can work around the issue of referencing class variables inside node blocks by referring to them via their absolute names. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/VYzZTpSOy8YJ. 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.