Permalink
Browse files

explicit path to scout executable

  • Loading branch information...
1 parent 8046278 commit 3310dd304b41bb6ff5c6fb61bd0b1ae9ff61ed76 Andre Lewis committed Sep 23, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbooks/scout/recipes/default.rb
@@ -17,12 +17,12 @@
gem_package "elif"
# the scout command
-scout_command="/usr/bin/ruby scout #{node[:scout][:key]} -d /root/.scout/client_data.yml"
+scout_command="/usr/bin/ruby /usr/bin/scout #{node[:scout][:key]} -d /root/.scout/client_data.yml"
# run it once right away
execute "scout first run" do
user "root"
- command "#{scout_command}"
+ command "#{scout_command} >/root/scout_first_run.out 2>/root/scout_first_run.err"
end

0 comments on commit 3310dd3

Please sign in to comment.