diff options
author | Matt Taggart <taggart@riseup.net> | 2016-09-29 13:09:22 -0700 |
---|---|---|
committer | Matt Taggart <taggart@riseup.net> | 2016-09-29 13:09:22 -0700 |
commit | 8b66047f8bf6c1c3c70e34d0145d4b5af5d139d0 (patch) | |
tree | b301c42118c4807f852123b6cdf7af342e83c6b6 | |
parent | dc9d8cca10d64ab7027f6c876a3bc89e19cf4639 (diff) |
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.
-rw-r--r-- | manifests/agent/install_local.pp | 3 |
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'], } } |