summaryrefslogtreecommitdiff
path: root/manifests/agent/install_local.pp
blob: 7238440f5d6cf9e4cef72dc3efc2e3fbdf9c7331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
define check_mk::agent::install_local($source=undef, $content=undef, $ensure='present') {
  @file { "/usr/lib/check_mk_agent/local/${name}" :
    ensure  => $ensure,
    owner   => 'root',
    group   => 'root',
    mode    => '0755',
    content => $content,
    source  => $source,
    tag     => 'check_mk::local',
    require => Package['check-mk-agent'],
  }
}