Use a ruby_block instead of execute resource for running chef solo.