Please review pull request #273: Add poller_tag, business_impact, realm attributes to nagios_types that s... opened by (bleonsfl)
Description:
...upports them
- Opened: Wed Dec 14 05:20:29 UTC 2011
- Based on: puppetlabs:master (464a279c7425643188024ba7f98392b9057d6e35)
- Requested merge: bleonsfl:shinken (c675726fcdabe84973e98b7bb20c8f91c108809f)
Diff follows:
diff --git a/lib/puppet/external/nagios/base.rb b/lib/puppet/external/nagios/base.rb
index e98760e..e4a6fea 100755
--- a/lib/puppet/external/nagios/base.rb
+++ b/lib/puppet/external/nagios/base.rb
@@ -334,7 +334,8 @@ def type
:stalking_options, :notes, :notes_url, :action_url, :icon_image,
:icon_image_alt, :vrml_image, :statusmap_image, "2d_coords".intern,
"3d_coords".intern,
- :register, :use
+ :register, :use,
+ :realm, :poller_tag, :business_impact
setsuperior "person"
map :address => "ipHostNumber"
@@ -343,7 +344,8 @@ def type
newtype :hostgroup do
setparameters :hostgroup_name, :alias, :members, :hostgroup_members, :notes,
:notes_url, :action_url,
- :register, :use
+ :register, :use,
+ :realm
end
newtype :service do
@@ -362,7 +364,8 @@ def type
:notifications_enabled, :contacts, :contact_groups, :stalking_options,
:notes, :notes_url, :action_url, :icon_image, :icon_image_alt,
:register, :use,
- :_naginator_name
+ :_naginator_name,
+ :poller_tag, :business_impact
suppress :host_name
@@ -402,7 +405,8 @@ def type
end
newtype :command do
- setparameters :command_name, :command_line
+ setparameters :command_name, :command_line,
+ :poller_tag
end
newtype :servicedependency do
-- 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.
