You can load it in Python, you just need to do a bit more extra work first.

I can get you an example on Monday or whenever Comcast fix my home internet
connection...

On Sat, May 22, 2010 at 12:43 AM, Ohad Levy <ohadl...@gmail.com> wrote:

> Hi Luke,
>
> Thats a dump of a ruby object in yaml, meaning that if you would like to
> restore the object (and its methods) you would need to run it in ruby and
> load the puppet libraries.
>
> what are you trying to achieve? there are a few examples out there already.
>
> Ohad
>
>
> On Sat, May 22, 2010 at 12:44 PM, Baker, Luke Jefferson <
> bake...@missouri.edu> wrote:
>
>>  Hey there,
>>
>>
>>
>> I’ve playing with parsing some of the yaml data that puppet creates. Has
>> anyone had luck doing this with python or the like? It seems that in every
>> yaml file, there is a comment at the top of the file like this..
>>
>>
>>
>> --- !ruby/object:Puppet::Node
>>
>>
>>
>> Which doesn’t make may yaml parsers happy.. where am I going wrong?
>>
>>
>>
>> --Luke Baker
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To post to this group, send email to puppet-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>



-- 
nigel

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to