So this took me a while to figure out. Puppet Code can use settings from puppet but they need to be defined by settings::LOOPUP_THING_HERE. As such, here a quick reference for myself.
You can retrevie your settings with:
sudo /usr/bin/puppet config print
sudo /opt/puppetlabs/bin/puppet config printAnd for testing: