aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/monitor/interface.pp
blob: 102f5b25625bc36177c5c1c7762b015dd2e6eab6 (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}",
    user    => 'root',
    hour    => $hour,
    minute  => $minute,
    ensure  => $ensure,
  }
}