Hello!

I'm using puppet for a while - it's really great :) What is missing it's windows support - but I was able to deal with that with few ruby scripts, which in turn generate puppet classes, which in turn generate proper wpkg files, which are then used by windows wpkg from wpkg.org...

It's quite complicated, and I think I can simplify it A LOT if I'd be able to "inject" exported resources to puppet database - this way I can ie.: install nagios client (nsclient++) on windows using pure wpkg configuration, and then export proper resource so my nagios server can notice it and start monitoring it properly.

And that is my question - I now ruby, but puppet code overhelms me... Could you please point me, where should I look for proper method classes to "injest" resources into database? I need to save in db new node, and then - few file resources. I'm not quite sure if I should use full puppet types classes, or stay quite "low level" and use just activerecord models to "emulate" such a resources?
---
Grzegorz Marszałek
[email protected]


--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" 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-dev?hl=en.

Reply via email to