uniak/puppet-networkdevice

View on GitHub
lib/puppet/util/network_device/cisco_ios/model/user/base.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method register has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.register(base)
    base.base_cmd = "username <%= name %>"
    scope = /^(username (\S+)(.*))/

    base.register_scoped :ensure, scope do
Severity: Minor
Found in lib/puppet/util/network_device/cisco_ios/model/user/base.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status