Make the module autoload compliant (?)

I tried to use your module but I had to make some modifications to be able to use it. 
PS : I'm new to Puppet so maybe I missed something. It may be due to my Puppet version ? (3.2.3)