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 <[email protected]> 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 <
> [email protected]> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<puppet-users%[email protected]>
>> .
>> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<puppet-users%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to