cdist preos fails if parameter -l 3 is given #17
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#17
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?
Hi there,
it seems to me there is an issue with
cdist preos
.If I run
cdist preos debian ... -l 3
it fails withcdist: error: unrecognized arguments: -d
.The reason is in file code line 25, where
-d
is appended tocdist_params
in conjunction with line 180 wherecdist config
is called with this parameter, but-d
is not a valid parameter according to the manual (cdist config --help
).If I remove the
-d
thecdist config
statements works without an error.I've encountered this issue with cdist verison 6.7.0 and 6.9.0.
Proposed solution: Remove
-d
from line 25 in codementioned in commit
cce470b556
If tested commit
c8195483
on 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