aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/monitor/interface.pp
blob: 4f0ec619ee14e2edc86fec6b7e93b36c03f39c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
define nodo::subsystem::monitor::interface(
  $ensure = 'present'
  $hour   = "*",
  $minute = "*",
)
{
  cron { "ifcheck-${name}":
    command => "/usr/local/sbin/ifcheck ${name} &> /dev/null",
    user    => 'root',
    hour    => $hour,
    minute  => $minute,
    ensure  => $ensure,
  }
}