diff --git a/manifests/nagios/objects/template_rules.pp b/manifests/nagios/objects/template_rules.pp index c742650..55a69a0 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 { 'switch': + confdroid_nagios::nagios::objects::templates { 'unix-server': ng_template_object => 'host', - ng_template_object_name => 'switch', + ng_template_object_name => 'unix-server', ng_template_object_use => 'generic-host', ng_notification_options => 'd,u,r', } - confdroid_nagios::nagios::objects::templates { 'printer': + confdroid_nagios::nagios::objects::templates { 'generic-printer': ng_template_object => 'host', - ng_template_object_name => 'printer', + ng_template_object_name => 'generic-printer', ng_template_object_use => 'generic-host', ng_notification_options => 'd,u,r', }