summaryrefslogtreecommitdiff
path: root/manifests/nsca/client.pp
blob: 6e2c47281eb730cd0029c863d4e9a4cb83e09410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class nagios::nsca::client {

  package { 'nsca': ensure => installed }
  
  file { '/etc/send_nsca.cfg':
    source => [ "puppet:///modules/site-nagios/nsca/{$fqdn}/send_nsca.cfg",
                "puppet:///modules/site-nagios/nsca/send_nsca.cfg",
                "puppet:///modules/nagios/nsca/send_nsca.cfg" ],
    owner  => 'nagios',
    group  => 'nogroup',
    mode   => '400',
  }

}