A horrible hack to get this working on Puppet 2.7-3.2.