diff --git a/manifests/init.pp b/manifests/init.pp index c71d9d2648..2b29b3d22d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -253,6 +253,6 @@ class { 'sensu::server::service': } -> anchor {'sensu::end': } - sensu::plugin { $plugins: install_path => '/etc/sensu/plugins'} + sensu::plugin { $plugins: install_path => '/etc/sensu/plugins' } } diff --git a/manifests/package.pp b/manifests/package.pp index 22ed0a3846..27f979ca85 100644 --- a/manifests/package.pp +++ b/manifests/package.pp @@ -21,7 +21,7 @@ 'RedHat': { class { 'sensu::repo::yum': } - if str2bool($sensu::install_repo) { + if $sensu::install_repo { $repo_require = Yumrepo['sensu'] } else { $repo_require = undef diff --git a/manifests/plugin.pp b/manifests/plugin.pp index 31755c23fd..2c051ebc29 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -71,7 +71,8 @@ } } 'directory': { - file { $install_path: + file { 'sensu_plugins_dir': + path => $install_path, ensure => directory, mode => '0555', source => $name,