summaryrefslogtreecommitdiff
path: root/manifests/irc_bot/debian.pp
blob: 93ea64b8674ff89457ff6185e6968544b05056f7 (plain)
1
2
3
4
5
6
7
8
class nagios::irc_bot::debian inherits nagios::irc_bot::base {
  exec { "nagios_nsa_init_script":
    command => "/usr/sbin/update-rc.d nagios-nsa defaults",
    unless => "/bin/ls /etc/rc3.d/ | /bin/grep nagios-nsa",
    require => File["/etc/init.d/nagios-nsa"],
    before => Service['nagios-nsa'],
  }
}