fixes for open-source puppet edition

Hi,

I've tried you modules on CentOS 6.5 with puppet open source and this fix was required in order get this working.
I've tested with puppet 3.2.4 and 3.4.2.

Best regards,
  Attila