Merge pull request #7 from mjeanson/master

Add support for Ubuntu & Puppet 3.x
Ruby1.9 Support

String.each is deprecated in Ruby1.9.3. Should use each_line instead, so it works with both Ruby1.8 and Ruby1.9.3
Merge pull request #8 from trondiz/patch-1

Ruby1.9 Support
Install the latest Puppet with PuppetDB

/!\ Won't work if Puppet has been installed with gem /!\
Enable configuring the operatingsystem used

The parameter goes into the 'config.yaml' file
The puppetmaster node needs more memory