diff --git a/manifests/nagios/objects/timeperiods.pp b/manifests/nagios/objects/timeperiods.pp index 5947a75..af5812b 100644 --- a/manifests/nagios/objects/timeperiods.pp +++ b/manifests/nagios/objects/timeperiods.pp @@ -44,5 +44,23 @@ class cd_nagios::nagios::objects::timeperiods ( register => '1', target => $ng_tgt_timeperiods_base, } + + @@nagios_timeperiod { 'office_hours': + ensure => present, + timeperiod_name => 'office_hours', + alias => 'Office hours only, 5 Days A Week 09-05', + monday => '09:00-17:00', + tuesday => '09:00-17:00', + wednesday => '09:00-17:00', + thursday => '09:00-17:00', + friday => '09:00-17:00', + saturday => '00:00-00:00', + sunday => '00:00-00:00', + owner => $ng_user, + group => $ng_user, + mode => '0640', + register => '1', + target => $ng_tgt_timeperiods_base, + } } }