Adding puppetagent class and adding agent cron