Hi There,
datadog-agent isnt the Puppet agent, this is a separate telemetry product
This sounds like you may have installed the latest open source puppet repository which is overwriting the one Puppet enterprise requires to function
`dpkg-query --show --showformat '${Package}\n' | grep --extended-regexp '^pe-|^puppet'`
Check the list for the presence of an open-source puppet6-release package,
remove it if present, and then install the appropriate version from the local path:
sudo dpkg -i /opt/puppetlabs/server/data/packages/public/latest/<os>/<package_name/