CdistObject.parameters does not work with required_multiple and friends #290
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#290
Loading…
Add table
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: asteven
ERROR: Object __user_groups/foobar already exists with conflicting parameters:
.../conf/type/__cbrg_some_type/manifest: {'group': 'sudo'}
.../conf/type/__cbrg_other_type/manifest: {'group': ['sudo']}
.../conf/type/__cbrg_some_type/manifest:
__user_groups foobar --group sudo
.../conf/type/__cbrg_other_type/manifest:
__user_groups foobar --group sudo
The problem is that the fsproperty class that represents the CdistObject.parameters member does not know anything about the parameter beeing a list, but the argument parser in the emulator does.
So, emulator says it's a list, but the cdist object read from disk says it's a string -> boom