diff options
Diffstat (limited to 'manifests/agent/install_local.pp')
-rw-r--r-- | manifests/agent/install_local.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/agent/install_local.pp b/manifests/agent/install_local.pp new file mode 100644 index 00000000..7238440f --- /dev/null +++ b/manifests/agent/install_local.pp @@ -0,0 +1,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'], + } +} |