Skip to content

Conversation

saichint
Copy link

@saichint saichint commented Jul 10, 2018

This PR is for fixing the following issues:

  1. https://tickets.puppetlabs.com/browse/CISCO-65
    On n5k, if there are multiple vlans, the puppet resource cisco_vlan command is failing. This is due to the fact that, the show vlan br | json returns an integer for vlan_id and on all other platforms, it returns a string. Converting index to string solves it.
  2. https://tickets.puppetlabs.com/browse/CISCO-68
    If there are multiple tacacs servers like (192.168.1.1, 192.168.1.11 etc.) the regex pattern is matching both servers for 192.168.1.1 and the value for port attribute, it is returning is an array which is causing issue. Basically the regex pattern check is wrong which does not take the white space into account properly.

@mikewiebe mikewiebe changed the title fix cust issues Fix CISCO-65 and CISCO-68 Jul 11, 2018
@mikewiebe
Copy link
Contributor

👍 @saichint Looks good to me.

@shermdog Can you take a look?

@shermdog shermdog merged commit 1ad7b99 into develop Jul 12, 2018
@saichint saichint deleted the cust branch July 20, 2018 18:35
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