HomePhorge

Added builtin support for all Nagios resource types. I use Naginator to parse…
33e319a8be8eUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Added builtin support for all Nagios resource types. I use Naginator to parse and generate the files, with ParsedFile to handle record management and the like.

Note that each resource type itself is just a call to
a Factory method, since everything is just based on Naginator.
Given that, all of the tests are in a single unit/ral/types/nagios.rb
file, since I used a factory to generate them, too. This is probably
either unnecessary or insufficient, but it's as far as I'm
willing to go in testing them, and it did actually catch a few
bugs.

Details

Provenance
Luke Kanies <luke@madstop.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU68cde4f1babe: Removing the one-off naginator provider for nagios_command.
Branches
Unknown
Tags
Unknown

Event Timeline