cdist preos fails if parameter -l 3 is given #17
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#17
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?
Hi there,
it seems to me there is an issue with
cdist preos.If I run
cdist preos debian ... -l 3it fails withcdist: error: unrecognized arguments: -d.The reason is in file code line 25, where
-dis appended tocdist_paramsin conjunction with line 180 wherecdist configis called with this parameter, but-dis not a valid parameter according to the manual (cdist config --help).If I remove the
-dthecdist configstatements works without an error.I've encountered this issue with cdist verison 6.7.0 and 6.9.0.
Proposed solution: Remove
-dfrom line 25 in codementioned in commit
cce470b556If tested commit
c8195483on branch bugfix/preos-debug. It seems to solve the problem.@toto Can you test https://code.ungleich.ch/ungleich-public/cdist/-/merge_requests/970?
mentioned in merge request !970
mentioned in commit
c819548343