Skip to content

Conversation

@trefzer
Copy link
Contributor

@trefzer trefzer commented Apr 9, 2025

No description provided.

trefzer added 5 commits April 9, 2025 11:43
with the implementation of proper diffs (see #75), these to functions
are not necessary anymore.
…or portgroups inside XML"

This partly reverts commit 4c55908 (#75).

The part 'human readable diff' is kept, the part 'correct sort...' is reverted.

Fixing the sort in the provider only is the wrong approach. This module uses
the function defined in lib/puppet_x/libvirt/sort_elements.rb to
have equal XML's to compare. The sort_elements function is used in the provider
to ensure sorting of the 'is' part. The 'should' part is sorted using
the function libirt::normalxml on the template XML output.

See Bug #85
@trefzer trefzer merged commit 84120e0 into master Apr 9, 2025
4 checks passed
@trefzer trefzer deleted the dev_bridge branch April 9, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants