Re: [Puppet Users] Reading Puppet reports with Python

2010-10-04 Thread Ohad Levy
On Mon, Oct 4, 2010 at 6:54 PM, Eduardo S. Scarpellini < scarpell...@gmail.com> wrote: > Douglas, > just an update: Now Im testing The Foreman (theforeman.org) and I think it > covers my main needs (including a ''kind of'' [not so rich] URL API). > Just FYI, the new upcoming release have JSON base

Re: [Puppet Users] Reading Puppet reports with Python

2010-10-04 Thread Douglas Garstang
On Tue, Sep 28, 2010 at 10:13 AM, Nigel Kersten wrote: > On Tue, Sep 28, 2010 at 10:08 AM, Douglas Garstang > wrote: > > > > On Tue, Sep 28, 2010 at 9:50 AM, Eduardo S. Scarpellini > > wrote: > >> > >> Douglas, > >> I've started my tests with Python + Puppet Yaml yesterday, based on > >> > http:

Re: [Puppet Users] Reading Puppet reports with Python

2010-10-04 Thread Eduardo S. Scarpellini
Douglas, just an update: Now Im testing The Foreman (theforeman.org) and I think it covers my main needs (including a ''kind of'' [not so rich] URL API). Alternatively to YAML, you can use storedconfigs and some database, like MySQL or sqlite and, then, use any language you want :) 2010/9/28 Dougl

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Douglas Garstang
On Tue, Sep 28, 2010 at 11:06 AM, Rob McBroom wrote: > On Sep 28, 2010, at 1:25 PM, Douglas Garstang wrote: > > It's not true and you're taking a particularly shitty attitude for >> someone who is asking for help Doug. >> >> > It is true, and you're taking a particularly sensitive attitude for som

List behavior (was Re: [Puppet Users] Reading Puppet reports with Python)

2010-09-28 Thread James Turnbull
Douglas Garstang wrote: > It's not true and you're taking a particularly shitty attitude for > someone who is asking for help Doug. > > > It is true, and you're taking a particularly sensitive attitude for > someone that doesn't know me Nigel. > Douglas I've asked in the past that you

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> It's not true and you're taking a particularly shitty attitude for >> someone who is asking for help Doug. >> >> >> It is true, and you're taking a particularly sensitive attitude for >> someone that doesn't know me Nigel. > > > If this was you

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Rob McBroom
On Sep 28, 2010, at 1:25 PM, Douglas Garstang wrote: > It's not true and you're taking a particularly shitty attitude for > someone who is asking for help Doug. > > > It is true, and you're taking a particularly sensitive attitude for someone > that doesn't know me Nigel. If this was your fir

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Douglas Garstang
On Tue, Sep 28, 2010 at 10:13 AM, Nigel Kersten wrote: > On Tue, Sep 28, 2010 at 10:08 AM, Douglas Garstang > wrote: > > > > On Tue, Sep 28, 2010 at 9:50 AM, Eduardo S. Scarpellini > > wrote: > >> > >> Douglas, > >> I've started my tests with Python + Puppet Yaml yesterday, based on > >> > http:

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Nigel Kersten
On Tue, Sep 28, 2010 at 10:08 AM, Douglas Garstang wrote: > > On Tue, Sep 28, 2010 at 9:50 AM, Eduardo S. Scarpellini > wrote: >> >> Douglas, >> I've started my tests with Python + Puppet Yaml yesterday, based on >> http://www.mailinglistarchive.com/html/puppet-users@googlegroups.com/2010-05/msg0

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Douglas Garstang
On Tue, Sep 28, 2010 at 9:51 AM, Nigel Kersten wrote: > On Tue, Sep 28, 2010 at 9:29 AM, Douglas Garstang > wrote: > > Has anyone got/seen Python code to read puppet reports? > > I added a bunch of these: > > class PuppetReport(yaml.YAMLObject): > > yaml_tag = u'!ruby/object:Puppet::Transaction

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Douglas Garstang
On Tue, Sep 28, 2010 at 9:50 AM, Eduardo S. Scarpellini < scarpell...@gmail.com> wrote: > Douglas, > I've started my tests with Python + Puppet Yaml yesterday, based on > http://www.mailinglistarchive.com/html/puppet-users@googlegroups.com/2010-05/msg00539.html, > and I'm having the same difficult

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Douglas Garstang
On Tue, Sep 28, 2010 at 9:50 AM, Eduardo S. Scarpellini < scarpell...@gmail.com> wrote: > Douglas, > I've started my tests with Python + Puppet Yaml yesterday, based on > http://www.mailinglistarchive.com/html/puppet-users@googlegroups.com/2010-05/msg00539.html, > and I'm having the same difficult

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Nigel Kersten
On Tue, Sep 28, 2010 at 9:29 AM, Douglas Garstang wrote: > Has anyone got/seen Python code to read puppet reports? > I added a bunch of these: > class PuppetReport(yaml.YAMLObject): >   yaml_tag = u'!ruby/object:Puppet::Transaction::Report' >   def __init__(self, host, logs, metrics, records, time

Re: [Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Eduardo S. Scarpellini
Douglas, I've started my tests with Python + Puppet Yaml yesterday, based on http://www.mailinglistarchive.com/html/puppet-users@googlegroups.com/2010-05/msg00539.html, and I'm having the same difficulties. I shall keep working on this script today and I'll post the solution, if I can find it. 201

[Puppet Users] Reading Puppet reports with Python

2010-09-28 Thread Douglas Garstang
Has anyone got/seen Python code to read puppet reports? I added a bunch of these: class PuppetReport(yaml.YAMLObject): yaml_tag = u'!ruby/object:Puppet::Transaction::Report' def __init__(self, host, logs, metrics, records, time): self.host = host self.logs = logs self.metrics = me