Fixing puppet >2.6 command.

- Replacing "puppet certificate" with "puppet cert".
- Also removing "\n" from the output.