diff options
-rw-r--r-- | manifests/agent/install_local.pp | 4 | ||||
-rw-r--r-- | manifests/server/configure_ssh.pp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/manifests/agent/install_local.pp b/manifests/agent/install_local.pp index 77268db..7238440 100644 --- a/manifests/agent/install_local.pp +++ b/manifests/agent/install_local.pp @@ -1,4 +1,4 @@ -define check-mk::agent::install_local($source=undef, $content=undef, $ensure='present') { +define check_mk::agent::install_local($source=undef, $content=undef, $ensure='present') { @file { "/usr/lib/check_mk_agent/local/${name}" : ensure => $ensure, owner => 'root', @@ -6,7 +6,7 @@ define check-mk::agent::install_local($source=undef, $content=undef, $ensure='pr mode => '0755', content => $content, source => $source, - tag => 'check-mk::local', + tag => 'check_mk::local', require => Package['check-mk-agent'], } } diff --git a/manifests/server/configure_ssh.pp b/manifests/server/configure_ssh.pp index 5d4de74..987cc7a 100644 --- a/manifests/server/configure_ssh.pp +++ b/manifests/server/configure_ssh.pp @@ -10,6 +10,7 @@ class check_mk::server::configure_ssh ( 'puppet:///modules/check_mk/use_ssh.mk' ], owner => $::check_mk::shelluser, group => $::check_mk::shellgroup, + mode => '0644', notify => Exec['check_mk-refresh'] } } |