puppetmaster's a global variable that Foreman's ENC pushes out, so if you add this class to a host through Foreman then it automatically gets populated with the correct puppetmaster address.