The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #11306

Updated by Nick Fagerlund over 3 years ago

- centos 5.7 with all updates.
- puppet 2.7.8-1 from
- ruby-1.8.5-19.el5_6.1

when i try to run puppetd -t i get "err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate: odd number of arguments for Hash"
running ruby --debug /usr/sbin/puppetd -t show me, that error occurs in file /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb, row 153:

return false unless resource.respond_to?(:eval_generate)
raise Puppet::DevError,"Depthfirst resources are not supported by eval_generate" if resource.depthfirst?
made = resource.eval_generate.uniq
return false if made.empty?
made = Hash[] ### HERE
rescue => detail
puts detail.backtrace if Puppet[:trace]
resource.err "Failed to generate additional resources using 'eval_generate: #{detail}"
return false