Replacing Puppet Forge API URL to use v3 https://forgeapi.puppetlabs.com. You should update your Puppetfile
Invalid module name rt, you should qualify it with ORGANIZATION-rt for resolution to work correctly
whitespace matters
drop rt module as defunct, rewrite puppetlabs module declares
rewrite to support new puppet config settings
include apt to start it off
switch to puppet environment paths
invoke the apt class