[Puppet Users] Extending the storeconfigs database

2009-07-02 Thread Sheldon Hearn

I'm adding tables to the storeconfigs database, to support my
storereports plugin, and would like some guidance on handling the
schema version.

First prize would see my database extensions applied as migrations.
But then ActiveRecord would want to bump the schema version.

Any ideas on how to handle this gracefully so that I don't confuse the
hell out of puppet itself, on upgrade?

Thanks,
Sheldon.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Puppet Users] Re: Extending the storeconfigs database

2009-07-03 Thread Sheldon Hearn

I'm not sure I understand. Do you mean create a new database?

Ciao,
Sheldon.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Puppet Users] Puppetshow defunct?

2009-05-27 Thread Sheldon Hearn

Hi folks,

Is puppetshow still a going concern?

it is referred to by the Puppet Wiki's DocumentationStart page, but
the target URL produces an "Environment not found" error message:

http://reductivelabs.com/trac/puppetshow

If puppetshow is defunct, what are people using as a visual interface
into stored logs instead?  I know I can get RRD files easily, but I'm
looking for answers to questions like

* On which hosts is this fact false?
* On which hosts is this recipe failing?
* Which recipes are failing on this host?

Ciao,
Sheldon.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Puppet Users] Re: Puppetshow defunct?

2009-05-29 Thread Sheldon Hearn


On May 28, 4:51 am, Evan Hisey  wrote:

>  I use puppetview for checking my logs. Not as fancy or robust as
> puppetshow, but a lot easier to setup.

I don't think puppetview will cut it for us, because we have 5
puppetmasters storing configs to a central server.

I've given up on trying to find the magic set of gem versions that
puppetshow wants, and will just hack something up myself, which I
think is the state of the art in puppet reporting. :-)

Thanks,
Sheldon.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Puppet Users] Metrics and storeconfigs

2009-06-02 Thread Sheldon Hearn

When I got involved in our Puppet deployment, someone had already done
some work getting the puppet client talking to one puppetmaster and
having puppetshow run on the puppetmaster.

We're using multiple puppetmasters, whcih have storeconfigs enabled.
They all write to a centralized database.  We were hoping to draw
reports on the kinds of stuff you get from Puppet::Util::Metric.

But I think there's been a misunderstanding.  I think storeconfigs
doesn't store Puppet::Util::Metric values to the database, and so
we'll need to write some code to fish values out of /var/lib/
puppetmaster/reports and punt them into new tables in the database, if
we want to report out of a central database.

Can someone confirm? I'm just nervous that I've overlooked something
obvious and am about to take on unnecessary work.

Thanks,
Sheldon.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Puppet Users] Re: Metrics and storeconfigs

2009-06-02 Thread Sheldon Hearn


Huh?  Where in the database are the reports?  Or maybe this only
happens on a very recent version of puppet?  We're using 0.24.8.

Thanks,
Sheldon.

On Jun 2, 11:05 am, Ohad Levy  wrote:
> Yes, we are reading the yaml file and processing and feeding them into the
> database as a puppet report.
>
> than you can display it in a web interface or send customized emails etc.
>
> but if all you need is graphs, maybe use puppetview or just plain rrd files?
>
> cheers,
> Ohad
>
> On Tue, Jun 2, 2009 at 3:10 PM, Sheldon Hearn wrote:
>
>
>
> > When I got involved in our Puppet deployment, someone had already done
> > some work getting the puppet client talking to one puppetmaster and
> > having puppetshow run on the puppetmaster.
>
> > We're using multiple puppetmasters, whcih have storeconfigs enabled.
> > They all write to a centralized database.  We were hoping to draw
> > reports on the kinds of stuff you get from Puppet::Util::Metric.
>
> > But I think there's been a misunderstanding.  I think storeconfigs
> > doesn't store Puppet::Util::Metric values to the database, and so
> > we'll need to write some code to fish values out of /var/lib/
> > puppetmaster/reports and punt them into new tables in the database, if
> > we want to report out of a central database.
>
> > Can someone confirm? I'm just nervous that I've overlooked something
> > obvious and am about to take on unnecessary work.
>
> > Thanks,
> > Sheldon.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Puppet Users] Re: Metrics and storeconfigs

2009-06-02 Thread Sheldon Hearn


Well I'd love to see what you're doing if you're inclined to
share. :-)

Do you modify puppet, or have you written a sideline cron job that
punts reports over?

On Jun 2, 11:44 am, Ohad Levy  wrote:
> ah, we extend the schema... :)
>
> On Tue, Jun 2, 2009 at 5:31 PM, Sheldon Hearn wrote:
>
>
>
> > Huh?  Where in the database are the reports?  Or maybe this only
> > happens on a very recent version of puppet?  We're using 0.24.8.
>
> > Thanks,
> > Sheldon.
>
> > On Jun 2, 11:05 am, Ohad Levy  wrote:
> > > Yes, we are reading the yaml file and processing and feeding them into
> > the
> > > database as a puppet report.
>
> > > than you can display it in a web interface or send customized emails etc.
>
> > > but if all you need is graphs, maybe use puppetview or just plain rrd
> > files?
>
> > > cheers,
> > > Ohad
>
> > > On Tue, Jun 2, 2009 at 3:10 PM, Sheldon Hearn  > >wrote:
>
> > > > When I got involved in our Puppet deployment, someone had already done
> > > > some work getting the puppet client talking to one puppetmaster and
> > > > having puppetshow run on the puppetmaster.
>
> > > > We're using multiple puppetmasters, whcih have storeconfigs enabled.
> > > > They all write to a centralized database.  We were hoping to draw
> > > > reports on the kinds of stuff you get from Puppet::Util::Metric.
>
> > > > But I think there's been a misunderstanding.  I think storeconfigs
> > > > doesn't store Puppet::Util::Metric values to the database, and so
> > > > we'll need to write some code to fish values out of /var/lib/
> > > > puppetmaster/reports and punt them into new tables in the database, if
> > > > we want to report out of a central database.
>
> > > > Can someone confirm? I'm just nervous that I've overlooked something
> > > > obvious and am about to take on unnecessary work.
>
> > > > Thanks,
> > > > Sheldon.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Puppet Users] Re: Facter 1.5.5

2009-06-03 Thread Sheldon Hearn


On Jun 3, 8:56 am, jean  wrote:
>   Since i use facter 1.5.5 i got error running it by hand. It still work
> in puppet but i loosed the hability to run it from the command line:
>
> (aqadmin)> /var/lib/gems/1.8/gems/facter-1.5.5/bin/facter
> /var/lib/gems/1.8/gems/facter-1.5.5/bin/facter:50:in `require': no such
> file to load -- facter (LoadError)
>         from /var/lib/gems/1.8/gems/facter-1.5.5/bin/facter:50

Try this:

cd /var/lib/gems/1.8/gems/facter01.5.5 && \
ruby installer.rb
cd /usr/bin && ln -fs /var/lib/gems/1.8/bin/facter

Seems the gem install is a little broken.

Ciao,
Sheldon.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---