diff options
author | Luke Kanies <luke@madstop.com> | 2007-12-31 14:37:03 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-12-31 14:37:03 -0600 |
commit | 33e319a8be8e35fbe4a9ecb7e3185453b8239a83 (patch) | |
tree | 15cb3788a9a3c783463e2cc129a7cf03c77498a0 /lib/puppet/reference/node_source.rb | |
parent | 68cde4f1babe3ebf61ffe215c6328faf7818d40f (diff) | |
download | puppet-33e319a8be8e35fbe4a9ecb7e3185453b8239a83.tar.gz puppet-33e319a8be8e35fbe4a9ecb7e3185453b8239a83.tar.xz puppet-33e319a8be8e35fbe4a9ecb7e3185453b8239a83.zip |
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.
Diffstat (limited to 'lib/puppet/reference/node_source.rb')
0 files changed, 0 insertions, 0 deletions