Pass helpful ENV vars to non-rails workers
Pass helpful ENV vars to non-rails workers

Non-rails workers do not have access to their miq_workers database
record or the MiqWorker class which has helpful values specifically for
heartbeating.  We also can't simply set these in the run_single_worker
process' ENV because Bundler.with_clean_env doesn't reload ENV vars
after startup.

Make sure to pass these options to the child non-rails worker on
startup.

jrafanie/manageiq,ManageIQ/manageiq,jrafanie/manageiq,jrafanie/manageiq,ManageIQ/manageiq,jrafanie/manageiq,ManageIQ/manageiq,ManageIQ/manageiq