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