Skip to content

Conversation

@saichint
Copy link

This PR is for fixing PUPPET JIRA Issue: https://tickets.puppetlabs.com/browse/CISCO-80.
The problem here is that the show command output for routemap match source protocol is different in different versions of software (it is neither sorted nor follows any pattern).
The fix is to always sort the output (irrespective of the input) and compare it with sorted input.
Note that this is only an issue with test code, the actual puppet resource command always sorts before comparing (done in the puppet type code) so there is no idempotent issue.

Tested on different platforms and different versions.

@mikewiebe mikewiebe merged commit 3d11ff5 into develop Dec 4, 2018
@chrisvanheuveln chrisvanheuveln deleted the routemap branch August 19, 2019 13:14
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.

3 participants