remove usage of puppet require func