some fixes for puppet snippets