diff --git a/manifests/nagios/objects/template_rules.pp b/manifests/nagios/objects/template_rules.pp index 6a95331..c742650 100644 --- a/manifests/nagios/objects/template_rules.pp +++ b/manifests/nagios/objects/template_rules.pp @@ -55,15 +55,15 @@ class confdroid_nagios::nagios::objects::template_rules ( ng_template_object_use => 'generic-host', ng_notification_options => 'd,u,r', } - confdroid_nagios::nagios::objects::templates { 'generic-switch': + confdroid_nagios::nagios::objects::templates { 'switch': ng_template_object => 'host', - ng_template_object_name => 'generic-switch', + ng_template_object_name => 'switch', ng_template_object_use => 'generic-host', ng_notification_options => 'd,u,r', } - confdroid_nagios::nagios::objects::templates { 'generic-printer': + confdroid_nagios::nagios::objects::templates { 'printer': ng_template_object => 'host', - ng_template_object_name => 'generic-printer', + ng_template_object_name => 'printer', ng_template_object_use => 'generic-host', ng_notification_options => 'd,u,r', }