Issue #6886 has been updated by Brian Roller.
Having looked at examples again, I can see that one can define the hostclass as a symbol but when you include it, you have to include it with the name as a string include "foo" If this is intended behavior, feel free to close this issue. It is, however, a bit inconsistent/non-intuitive/confusing that it behaves this way. ---------------------------------------- Bug #6886: Allow symbol for ruby hostclass name https://projects.puppetlabs.com/issues/6886 Author: Brian Roller Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.6.7 Keywords: Branch: Using a symbol for the name of a ruby hostclass causes an error when catalog is requested by client. Apparently some code is trying to downcase the symbol. This may be a regression as I thought it worked in a previous 2.6.x version. Changing the symbol to a string is a workaround. attached are 4 files: site.pp, rubycode.rb, server.log, agent_output.log Ruby v1.8.7-p334 Fedora 14 Puppet 2.6.7 -- 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://projects.puppetlabs.com/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.
