Skip to content

Commit a0e9363

Browse files
committed
changes to fix issue #197 (again)
1 parent 943de9f commit a0e9363

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

manifests/init.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,6 @@
253253
class { 'sensu::server::service': } ->
254254
anchor {'sensu::end': }
255255

256-
sensu::plugin { $plugins: install_path => '/etc/sensu/plugins'}
256+
sensu::plugin { $plugins: install_path => '/etc/sensu/plugins' }
257257

258258
}

manifests/package.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
'RedHat': {
2323
class { 'sensu::repo::yum': }
24-
if str2bool($sensu::install_repo) {
24+
if $sensu::install_repo {
2525
$repo_require = Yumrepo['sensu']
2626
} else {
2727
$repo_require = undef

manifests/plugin.pp

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
}
7272
}
7373
'directory': {
74-
file { $install_path:
74+
file { 'sensu_plugins_dir':
75+
path => $install_path,
7576
ensure => directory,
7677
mode => '0555',
7778
source => $name,

0 commit comments

Comments
 (0)