cdist does not support IPv6 target host address #161
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ungleich-public/cdist#161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: darko-poljak
When IPv6 target host address is specified then cdist does not work.
This is because of scp command.
The error is:
cp: cannot create regular file '::1:/var/lib/cdist/conf/explorer': No such file or directory.
This is because ':' is separator for scp command.
IPv6 address should be enclosed between '[' and ']'.
This should be done in cdist python code when constructing remote_copy command.
It should also be done in shell code in types where remote_copy command is used directly like
in __file type gencode-local.
Created by: darko-poljak
PR merged.
Created by: darko-poljak
See https://github.com/ungleich/cdist/pull/491