Class Nagios::Base
In: lib/puppet/external/nagios/base.rb
Parent: Object

The base class for all of our Nagios object types. Everything else is mostly just data.

Methods

[]   []=   attach   camelcase   create   decamelcase   each   eachtype   map   mapping   method_missing   name   name=   namevar   namevar   new   newtype   paramattr   parameter?   parammap   parent   setnamevar   setparameters   setsuperior   suppress   suppress?   to_ldif   to_s   to_s   type   type  

Included Modules

Enumerable

Classes and Modules

Class Nagios::Base::UnknownNagiosType

Attributes

att  [RW] 
derivatives  [RW] 
ldapbase  [RW] 
name  [RW] 
namevar  [W] 
ocs  [RW] 
parameters  [RW] 
superior  [R] 

Public Class methods

Attach one class to another.

Convert a parameter to camelcase

Create a new instance of a given class.

Uncamelcase a parameter.

Return a mapping (or nil) for a param

Return the namevar for the canonical name.

Initialize our object, optionally with a list of parameters.

Define both the normal case and camelcase method for a parameter

Is the specified name a valid parameter?

Manually set the namevar

Set the valid parameters for this class

Set the superior ldap object class. Seems silly to include this in this class, but, eh.

Parameters to suppress in output.

Whether a given parameter is suppressed.

Return our name as the string.

Return a type by name.

Public Instance methods

Convenience methods.

Convenience methods.

Iterate across all ofour set parameters.

Handle parameters like attributes.

Retrieve our name, through a bit of redirection.

This is probably a bad idea.

okay, this sucks how do i get my list of ocs?

The type of object we are.

[Validate]