razorsedge / puppet-openlldp

Puppet module to install Open-LLDP.
http://forge.puppetlabs.com/razorsedge/openlldp
Other
6 stars 11 forks source link

Transition from rxtx to rx adminStatus doesn't work #11

Closed misterdorm closed 7 years ago

misterdorm commented 7 years ago

If a port's current adminStatus is "rxtx" and the requested state is "rx", the transition does not happen because of the grep pattern at https://github.com/razorsedge/puppet-openlldp/blob/master/manifests/config/lldp.pp#L74

A grep pattern of "adminStatus=rx" matches against "adminStatus=rxtx", so the set-lldp command is not executed in this case.

razorsedge commented 7 years ago

Fixed in #12 .