Skip to content

Commit

Permalink
Revert "Fixissue197"
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 committed Sep 17, 2014
1 parent 6794e61 commit 0cb0f31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'}

}
2 changes: 1 addition & 1 deletion manifests/package.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions manifests/plugin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
}
}
'directory': {
file { 'sensu_plugins_dir':
path => $install_path,
file { $install_path:
ensure => directory,
mode => '0555',
source => $name,
Expand Down

0 comments on commit 0cb0f31

Please sign in to comment.