define contact {
       contact_name                             <%= @name %>
       alias                                    PagerDuty Pseudo-Contact
       service_notification_period              <%= @notification_period %>
       host_notification_period                 <%= @notification_period %>
       service_notification_options             <%= @service_notification_options %>
       host_notification_options                d,r,u
       service_notification_commands            notify-service-by-pagerduty
       host_notification_commands               notify-host-by-pagerduty
       pager                                    <%= @pagerduty_servicekey %>
}

define command {
       command_name     notify-service-by-pagerduty
       command_line     /usr/local/bin/pagerduty_icinga.pl enqueue -f pd_nagios_object=service
}

define command {
       command_name     notify-host-by-pagerduty
       command_line     /usr/local/bin/pagerduty_icinga.pl enqueue -f pd_nagios_object=host
}

define contact {
        contact_name                         <%= @name %>
        service_notification_period          <%= @notification_period %>
        host_notification_period             <%= @notification_period %>
        service_notification_options         <%= @service_notification_options %>
        host_notification_options            d,r,u
        service_notification_commands        notify-service-by-pagerduty
        host_notification_commands           notify-host-by-pagerduty
        pager                                <%= @pagerduty_servicekey %>
}

define command {
        command_name     notify-service-by-pagerduty
        command_line     /usr/local/bin/pagerduty_icinga.pl enqueue -f pd_nagios_object=service
}

define command {
        command_name     notify-host-by-pagerduty
        command_line     /usr/local/bin/pagerduty_icinga.pl enqueue -f pd_nagios_object=host
}

Make whitespace tidier in `pager_contact` template
Make whitespace tidier in `pager_contact` template

The sample Icinga config files in the icinga-core repository
have 8 spaces of indentation rather than 7.
