Issue #21164 has been updated by Andrew Parker. Status changed from Merged - Pending Release to Closed
Released in 3.3.0 ---------------------------------------- Bug #21164: Regression in error messages for non-string variable names https://projects.puppetlabs.com/issues/21164#change-99473 * Author: Andy Brody * Status: Closed * Priority: Normal * Assignee: * Category: error reporting * Target version: 3.3.0 * Affected Puppet version: * Keywords: error non string variable * Branch: https://github.com/puppetlabs/puppet/pull/1694 ---------------------------------------- Prior to <https://github.com/puppetlabs/puppet/commit/5ac681f>, puppet would return a useful message if you attempted to treat an undef variable as a hash, like so: $var is not a hash or array when accessing it with foo at /manifest.pp:123 on node example.com Following that commit, puppet fails with an extremely unhelpful message because the variable is :undef: Scope variable name is a Symbol, not a string on node example.com -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
