Add create_resources from puppetlabs to make this work on 2.6

Create_resources doesn't exist in 2.6, but PuppetLabs published the appropriate file to github so older puppet users could use it.

So, I've imported it into the installer repo and tested with 2.7.19 and 2.6.14 - both seem to work.