Issue #17177 has been updated by Jeff McCune. Status changed from Accepted to Tests Insufficient
# Working on the tests Francis, I'm going to spend some time working on the tests for this. In the meantime, if you'd like to work with me that'd be great. Here's the issue I'm trying to overcome when I run the examples on my Mac workstation. <pre> $ rspec -fp spec/unit/util/ip_spec.rb ..............................................F...... Failures: 1) Facter::Util::IP should return mtu information on Linux Failure/Error: Facter::Util::IP.get_interface_value("eth0", "mtu").should == "1500" expected: "1500" got: nil (using ==) # ./spec/unit/util/ip_spec.rb:269:in `block (2 levels) in <top (required)>' Finished in 0.11005 seconds 53 examples, 1 failure Failed examples: rspec ./spec/unit/util/ip_spec.rb:264 # Facter::Util::IP should return mtu information on Linux </pre> ---------------------------------------- Feature #17177: Add MTU information to interfaces https://projects.puppetlabs.com/issues/17177#change-76329 Author: Francis Gulotta Status: Tests Insufficient Priority: Normal Assignee: Jeff McCune Category: interface Target version: 1.6.x Keywords: mtu interfaces Branch: https://github.com/puppetlabs/facter/pull/345 Affected Facter version: I'd like to add the mtu label for Util::IP for linux, bsd and sunos. These platforms already provide the mtu information for each interface in commands we run. Currently ignore it. Id also like to add mtu to the list of attributes provided in interfaces.rb. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.