-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I am playing with snakeyaml and trying to use a custom class to parse > yaml returned by puppet as mentioned in > http://code.google.com/p/snakeyaml/wiki/Documentation#Custom_Class_Loader > > But I am not sure how to deal with "--- !ruby/object:Puppet::Run:" and > "!ruby/sym report: !ruby/object:Puppet::Transaction::Report" > > These seem to be ruby specific.
afair you should be able to just strip that off, before pass it to the yaml reader. There have been some discussion about that on the list and I think this was the solution. ~pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk27WQAACgkQbwltcAfKi3+ImQCglHbndbFbCczd8FsDC2vS9Y8O LXYAoITcmr+RrGDxB+GVm5FTo7o7Ram4 =marw -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.