For some reason, I haven’t found this anywhere in the docs.

puppet --configprint all

It’ll print all your puppet configuration variables.