Remove require of puppet::master (not needed as I declare the class in this class - duh). Use modulepath from puppet::master directly.