Distinguish between CentOS and Fedora when activating puppet agent

This is needed because on Fedora, the service is called puppetagent