From 97e13bd2809d1e431fcac063abeb757f235f2394 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Wed, 2 Dec 2009 17:19:20 -0500 Subject: replace defaults based on cfg files by puppet resources --- manifests/defaults/contacts.pp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 manifests/defaults/contacts.pp (limited to 'manifests/defaults/contacts.pp') diff --git a/manifests/defaults/contacts.pp b/manifests/defaults/contacts.pp new file mode 100644 index 0000000..0252b5a --- /dev/null +++ b/manifests/defaults/contacts.pp @@ -0,0 +1,15 @@ +class nagios::defaults::contacts { + + nagios_contact { + 'root': + alias => 'Root', + service_notification_period => '24x7', + host_notification_period => '24x7', + service_notification_options => 'w,u,c,r', + host_notification_options => 'd,r', + service_notification_commands => 'notify-service-by-email', + host_notification_commands => 'notify-host-by-email', + email => 'root@localhost', + } + +} -- cgit v1.2.3