add optional file parameter to allow for use in a loop without object_id clashes
That's a nice PR! Will merge it.
__file using unsupported mv option
__file: mktemp -u checks for perms
Good catch, @ander!
I think we could easily replace
# upload file to temp location
upload_destination="$(mktemp -u "${destination}.cdist.XXXXXXXXXX")"
with
…
bug: apt-ppa-noninteractive
@romain-dartigues if using your PR, it would make sense to remove the script remove-apt-repository as well.