__postfix_postmap breaks when using hashes #188
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#188
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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: telmich
__postfix_postmap "hash:/etc/postfix/transport"
results in
INFO: mailman.ungleich.ch: Executing code for __postfix_postmap/hash:/etc/postfix/transport
postmap: fatal: dict_mkmap_func: unsupported dictionary type: /hash: Is the postfix-/hash package installed?
ERROR: mailman.ungleich.ch: Command failed: ssh -o User=root -q mailman.ungleich.ch __object_id=hash:/etc/postfix/transport __object=/var/lib/cdist/object/__postfix_postmap/hash:/etc/postfix/transport/.cdist /bin/sh -e /var/lib/cdist/object/__postfix_postmap/hash:/etc/postfix/transport/.cdist/code-remote
problem: the / should not be there in case it is a hash
closed
Created by: telmich
@asteven I saw that I can (should) use the filename directly with postmap (so my problem does not really exist), HOWEVER I saw in postmap(1) that there are actually various db types to be supported.
What do you think about adding --type to the type, to be used in front of the filename / as the db type?