On Mar 24, 2008, at 4:58 PM, Blake Barnett wrote:
>
> What version of nagios configs is the naginator parser (I assume
it''s
> the same as what you intregrated with puppet) able to handle? Do I
> need to figure out racc to fix these issues? Or am I just not doing
> this correctly at all...
>
> Here''s an example irb session where I''m trying to parse
our
> contacts.cfg
> http://pastie.org/169950
Looks like Naginator just doesn''t support all of the fields it needs
to.
If you look in lib/puppet/external/nagios/base.rb, you''ll see the
definition of all of the supported Nagios types and their parameters.
Can you just add the parameters you need? If so, I can patch things
to support those additional parameters.
Sounds like it''s not a parsing issue, just a modeling thing.
--
It is curious that physical courage should be so common in the world and
moral courage so rare. -- Mark Twain
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---