Here is a very simple manifest that recreates this error:
class foo { define bar ( $val ) { notice("bar($val)") } } $some_hash = { 'name' => "some_name" } foo::bar { "$some_hash['name']": } Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type foo::bar at /tmp/puptest.pp:9 on node www-cms- dev.fs.uwaterloo.ca This seems like a bug to me. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.