Some networks may block access to the host -- put a timeout on it, so
it doesn't hang forever, and log what's happening so folks have a
sense of what may be wrong.
See #38284.
Using puppet modules from the puppet forge judiciously will allow us
to simplify the configuration somewhat; this specifically pulls in the
stdlib module, which we were already using parts of.