| Instead of failing right away if the target exists, it will be nice to have more fine control over what can be copied in upload_file. Ex: copy files that doesn't exist in target directory, or ability to overwrite the default option and copy files even if it exists in the target directory etc. Right now mv fill fail underneath upload_file, if the target directory exists.
mv: cannot move ‘/tmp/3a21e5bb-563c-499b-85cd-c1296e2ef6b6/enterprise’ to ‘/etc/puppetlabs/enterprise/enterprise’:
|
Came across this error while trying to sync the enterprise_data on the master to other infra nodes in a plan. |