(#14615) Final stub fixes for the tests.
The tests assumed that they were run on a Linux, or Linux-like, system that
had ssh installed an a valid init script for it present. This isn't true on
all our platforms, so we need to stub a little more of the outside.
Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>