From: Doug M. <dma...@vm...> - 2010-02-26 17:45:17
|
Hi Anthony, I'm more familar with Chef's Ohai that Puppet's Facter, but I believe they provide similar data. Here's an Ohai plugin that the Ruby version of Sigar: http://github.com/dougm/ohai/tree/hax/lib/ohai/plugins/sigar/ This generic plugin provides support for HP-UX and AIX, here's how the ohai output looks: http://dougm.github.com/ohai/ohai-hpux.json http://dougm.github.com/ohai/ohai-aix.json The sigar plugin would work on other platforms too, but Ohai already has their own wrappers around system commands. You could certainly leverage Sigar to provide the same data to ControlTier via Ant tasks and/or Groovy. If the tasks are generic enough, we could also fold them into the Sigar distro if you're interested in that path. Let us know if we can help out! -Doug On Feb 24, 2010, at 11:33 AM, Anthony Shortland wrote: > Hi Doug, > > One way to look at the ControlTier framework is that we "extend Ant for use as a deployment tool" ... i.e. ControlTier is a Java framework whose systems or module language is Ant. > > We've traditionally stuck to application life-cycle process automation (web applications based on Apache HTTP, Tomcat, JBoss and a host of other platforms), as opposed to system provisioning (like Puppet or Chef, etc), but you're probably aware that there is a degree of overlap between these domains of activity. > > It's here that I'm interested in Sigar Ant tasks. It would be really sweet to use your library to gain access to system state values of one sort or another ... a bit like Puppet's "Facter" facility if you're familiar with that. Even at the simplest level such data would be really useful. For example, we could include checks in our implementations to ensure sufficient disk space is available ahead of installing a software package, etc. > > We do have bindings to all sorts of other scripting languages (notably Groovy) so we can leverage library that way; it's just that Ant is the easiest way to integrate with our existing libraries of modules. > > Thanks, > > Anthony. > > On Feb 24, 2010, at 10:57 AM, Doug MacEachern wrote: > >> Hi Anthony, >> >> The only Sigar ant tasks that I'm aware of are for building the native binaries. Interested to hear what you had in mind? > > Anthony Shortland > [ Developer | ControlTier Open Source Project | mobile: 650.215.3117 aim: ant...@me... yahoo: anthony.shortland irc.freenode.net: #controltier skype: anthony.shortland ] > > ControlTier Software Inc. is now DTO Solutions Inc. > |