Fixes #22479 - Handle remote directory with undefined parent
This can happen when tftp is set to false or unmanaged.
We move the remote_file define to this module since puppet-foreman no longer uses it itself. That will allow us to remove it there in a next major release.
Related issues
Bug #22479: Installer fails when run with --foreman-proxy-plugin-discovery-install-images true
Fixes #22479 - Handle remote directory with undefined parent
This can happen when tftp is set to false or unmanaged.
We move the remote_file define to this module since puppet-foreman no
longer uses it itself. That will allow us to remove it there in a next
major release.