Somewhere along the line, either simp config or simp bootstrap failed to set the serverport setting in my puppet.conf. As a result, when this puppet command is triggered and simp bootstrap runs puppet config to figure out the server port, it gets back the default value of 8140 rather than the configured puppetserver port, 8150. A quick fix for this would have been to simply pass @initial_puppetserver_port to the track_output call on line 99, like is done on line 69, thus ensuring that the port number thats intelligently selected would be what's used. I still need to figure out why my agent wasn't configured properly, though I think that's probably my fault since I'm attempting to run SIMP on rocky and I suspect something silently failed to set the agent setting somewhere along the line.