add optional file parameter to allow for use in a loop without object_id clashes #334
No reviewers
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#334
Loading…
Reference in a new issue
No description provided.
Delete branch ":master"
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 Nico,
Now with the conditional cat of $file.
Best regards,
Stephan
Hey Stephan,
thanks for the patch. We are using
https://code.ungleich.ch/ungleich-public/cdist for git.
Your patch, generally speaking, looks good. However the unconditional
cat on the
file
parameter will leave an error message. Instead, Isuggest to do the following:
if [ -f ... ]; then ... fi
Best regards,
Nico
Stephan Leemburg stephan.leemburg@gmail.com writes:
That's a nice PR! Will merge it.