Open WilliamMcCumstie opened 5 years ago
Fine for MVP, cos we can just use a tarball for now if necessary to deal with copying directory structure (i.e. script untars on the remote side).
~When this is solved the validation in action preventing config files from having sibling directories will need to be removed~ ~https://github.com/alces-software/adminware/pull/87/files#diff-830c29e01d3cd68bf4ae48a11faee837R53~ Ignore this ^^^
Before running the command, the contents of the directory containing
config.yaml
isscp
to a temporary directory on the node. The commands is ran with the temp dir as its working directory.Currently the following library is being used to preform the scp. It does not however support copying directories. This will either have to be done manually, using local, or maybe operations.
I had a look at using the
operations
however I couldn't get it to work.