customrun was broken and customrun_args is empty threw Nil -> string exception
puppet_proxy custom run complained with,
E, [2015-05-13T22:02:02.659085 #18294] ERROR -- : Exception 'can't convert Array into String' when executing '["/usr/local/bin/custom_command", nil, ["REDACTED_HOST"]]'
In this case :customrun_args: was empty.
Attached PR fixes this https://github.com/theforeman/smart-proxy/pull/284
#4 Updated by Pieter Hollants about 6 years ago
I updated Dhaivat's fix for the current code: https://github.com/theforeman/smart-proxy/pull/403