Added yaml output to puppet resource