End Whenever generated tasks for: /opt/sensu/admin/website/releases/d094cc55605c687f970fbe30010453d0a172cb26/config/schedule.rb
carmstrong@monitoring:/var/log$ sudo -u sensu-admin /bin/bash -l -c 'cd /opt/sensu/admin/website/releases/d094cc55605c687f970fbe30010453d0a172cb26 && script/rails runner -e production '\''Downtime.process_downtimes'\'''
/usr/bin/env: ruby: No such file or directory
carmstrong@monitoring:/var/log$ sudo -u sensu-admin /bin/bash -l -c 'cd /opt/sensu/admin/website/releases/d094cc55605c687f970fbe30010453d0a172cb26 && script/rails runner -e production '\''Stash.clear_expired_stashes'\'''
/usr/bin/env: ruby: No such file or directory
I'm willing to fix this by having the cookbook depend on ruby and then include it in default.rb, but I wanted to make sure that was the preferred method first.
We are working on a finalized version of sensu admin being omnibus'd, so I think you can probably forgo doing the change right now but yes, that would be a good solution in the interim.
On my machine running a base Chef role and sensu, sensu-dashboard, and sensu-admin, the cronjobs for sensu-admin fail:
I'm willing to fix this by having the cookbook depend on
ruby
and then include it indefault.rb
, but I wanted to make sure that was the preferred method first.