Good point! I'll look into it.

Think it is good to merge as is though, considering that puppet uses this code now by default when generating modules.

https://github.com/puppetlabs/puppet/blob/master/lib/puppet/module_tool/skeleton/templates/generator/Rakefile