Refactor Puppet modules.