Distinguish between CentOS and Fedora when activating puppet agent

This is needed because on Fedora, the service is called puppetagent
Ah, i see. I am in fact using the puppet packages provided by Fedora right now. I will just add an 'if statement' which checks systemctl list-unit-files and acts accordingly.