running the attached file with 0.24.1-1 on debian sid creates the following backtrace:
david@zion:~/tmp/class$ puppet --trace ./class.pp
/usr/lib/ruby/1.8/puppet/metatype/metaparams.rb:261:in `validate_relationship'
/usr/lib/ruby/1.8/puppet/metatype/metaparams.rb:258:in `each'
/usr/lib/ruby/1.8/puppet/metatype/metaparams.rb:258:in `validate_relationship'
/usr/lib/ruby/1.8/puppet/type.rb:295:in `finish'
/usr/lib/ruby/1.8/puppet/type.rb:293:in `collect'
/usr/lib/ruby/1.8/puppet/type.rb:293:in `finish'
/usr/lib/ruby/1.8/puppet/node/catalog.rb:265:in `finalize'
/usr/lib/ruby/1.8/puppet/node/catalog.rb:265:in `each'
/usr/lib/ruby/1.8/puppet/node/catalog.rb:265:in `finalize'
/usr/bin/puppet:206
Could not find dependency Class[muh]
david@zion:~/tmp/class$
Changing the "include muh2" to "include muh" or requiring "Class[muh2]" instead of "Class[muh]" makes the attached file valid.