aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/monitor/interface.pp
blob: be630aa13094c5b593eebaa3d62287d6e950de85 (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,
  }
}