-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to purge objects on Basket import #2201
Comments
ref/NC/690333 |
Thanks Thomas for the implementation in 1.8.0. To have a clean configuration before a new basket restore it done it is necessary that all objects getting purged. This allows us to get rid of unused objects which are not included in the new basket anymore. Otherwise old services will still be available and must be deleted manually maybe it is possible to implement an opreation as follows:
|
|
with any kind of object i get the following error: user@host:~# icingacli director basket restore --purge Command --force < empty.json ...empty.json has no content... any ideas? |
Hoi @bornandre, no content isn't valid JSON syntax, and therefore also not a valid basket. Nothing bad happened at this point, it just rejected the (invalid) JSON file. In case you want to simulate an empty basket, you could write an empty object to your file: {} Cheers |
ServiceGroup, ServiceSet ist working as expected...
but...
THX André |
Expected Behavior
I want to be able to run an operation as follows:
For every object type provided to
purge
all but objects in my basket should be purged.Current Behavior
Baskets are able to create and modify objects, but it's not possible to use them in an idempotent way.
The text was updated successfully, but these errors were encountered: