(PUP-3119) Add yaml output to puppet resource