Is it possible that the environ of manifest differs / misses __cdist_object_marker #180
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#180
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: telmich
In emulator testcase I found a bug that cdist_object_marker is different in the manifest, because it
is inherited from earlier run and not updated by the "local" object:
......path in test/home/users/nico/.tmp/tmp.cdist.test.114x5i7b/out/object/__file/cdist-test-id/.cdist-lsmgc6n1/stdin
path in env.cdist-n7b2ivji
path in emu: /home/users/nico/.tmp/tmp.cdist.test.114x5i7b/out/object/__file/cdist-test-id/.cdist-n7b2ivji/stdin
Code changes
emulator.py:
try:
# go directly to file instead of using CdistObject's api
# as that does not support streaming
path = os.path.join(self.cdist_object.absolute_path, 'stdin')
print("path in emu: %s" % path)
test/emulator/init.py:
See also commit
b032189closed