voxpupuli / puppet-network

Types and providers to manage network interfaces
https://forge.puppet.com/puppet/network
Apache License 2.0
66 stars 109 forks source link

Allow Type network_config to take a Numeric value for the MTU parameter #229

Closed lukebigum closed 7 years ago

lukebigum commented 7 years ago

It's feasible to provide a Numeric type to the MTU parameter in Puppet 4 (such as the result of a calculation). This patch allows the network_config Type to accept a Numeric as well as a String, and tests for all the same expected failure cases with numeric values.

lukebigum commented 7 years ago

Bump. Anyone?

igalic commented 7 years ago

thank you very much, @lukebigum!