In some cases, when executing on a remote host, the template or file URL will be prepended with the temporary path. This has now been fixed to make sure the URL stays a URL.
How should this be tested?
Run at least 3 tests:
Use an inventory whereas the template is a local file and the seed-host is a remote host
validate that the execution works and that the files are sources / objects created correctly
Use an inventory whereas the template is a remote file (URL) and the seed-host is a remote host
validate that the execution works and that the files are sources / objects created correctly
Repeat the above 2 for a static file
Repeat the first 2 with param files that are a mixture of local and remote (URL) files
What does this PR do?
In some cases, when executing on a remote host, the template or file URL will be prepended with the temporary path. This has now been fixed to make sure the URL stays a URL.
How should this be tested?
Run at least 3 tests:
Use an inventory whereas the template is a local file and the
seed-host
is a remote hostUse an inventory whereas the template is a remote file (URL) and the
seed-host
is a remote hostRepeat the above 2 for a static file
Repeat the first 2 with param files that are a mixture of local and remote (URL) files
Is there a relevant Issue open for this?
resolves #76
Who would you like to review this?
cc: @redhat-cop/openshift-applier