Applied fix for bug https://tickets.puppetlabs.com/browse/MODULES-865
Merge pull request #1 from szynaka/master

Applied fix for bug https://tickets.puppetlabs.com/browse/MODULES-865