Fixed puppet snippets

I fixed several errors in puppet snippets:

- Some of them didnt have closure brackets
- Some were wrong (user snippet inserted a group statement, ...)
- I also changed surrounding " to ' so snippets follow puppet best practices