summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Taggart <taggart@riseup.net>2016-10-03 20:28:16 +0000
committerMatt Taggart <taggart@riseup.net>2016-10-03 20:28:16 +0000
commit898461691ba0b5b9a77ccd29ec00c56e52eaccd2 (patch)
treec820b7086d6ba8ea00d14fe0e79defff4f81249c
parent42ba6c23b5b6931f70baa09fc0af3406cc12768e (diff)
parent8b66047f8bf6c1c3c70e34d0145d4b5af5d139d0 (diff)
Merge branch 'localfile' into 'master'
make file a non-virtual resource this check_mk local plugin file resource doesn't need to be a virtual resource, I suspect the "@" was just a typo since it doesn't seem to be 'realize'd or used in any collectors. Also remove the tag since it's not used anywhere. See merge request !16
-rw-r--r--manifests/agent/install_local.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/agent/install_local.pp b/manifests/agent/install_local.pp
index 7238440..6450abd 100644
--- a/manifests/agent/install_local.pp
+++ b/manifests/agent/install_local.pp
@@ -1,12 +1,11 @@
define check_mk::agent::install_local($source=undef, $content=undef, $ensure='present') {
- @file { "/usr/lib/check_mk_agent/local/${name}" :
+ 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'],
}
}