Refactored into a Puppet module