Update README.md #151
Annotations
3 warnings
spec/unit/type/network_config_spec.rb#L68
Puppet::Type::Network_config when validating the attribute options is a descendant of the KeyValue property
Failure/Error: expect(Puppet::Type.type(:network_config).propertybyname(:options).ancestors).to include(Puppet::Property::Ensure)
expected [Puppet::Type::Network_config::Options, Puppet::Property, Puppet::Parameter, Puppet::Util::Logging, P...acts, FastGettext::Translation, JSON::Ext::Generator::GeneratorMethods::Object, Kernel, BasicObject] to include Puppet::Property::Ensure
Diff:
@@ -1,12 +1,23 @@
-[Puppet::Property::Ensure]
+[Puppet::Type::Network_config::Options,
+ Puppet::Property,
+ Puppet::Parameter,
+ Puppet::Util::Logging,
+ Puppet::Util::Errors,
+ Puppet::Util,
+ Object,
+ RspecPuppetFacts,
+ FastGettext::Translation,
+ JSON::Ext::Generator::GeneratorMethods::Object,
+ Kernel,
+ BasicObject]
|
spec/unit/type/network_config_spec.rb#L85
Puppet::Type::Network_config when validating the attribute value ipaddress using the inet family fails when passed an IPv6 address
Failure/Error: expect { Puppet::Type.type(:network_config).new(name: 'yay', family: :inet, ipaddress: address6) }.to raise_error(%r{not a valid ipv4 address})
expected Exception with message matching /not a valid ipv4 address/ but nothing was raised
|
spec/unit/type/network_config_spec.rb#L96
Puppet::Type::Network_config when validating the attribute value ipaddress using the inet6 family fails when passed an IPv4 address
Failure/Error: expect { Puppet::Type.type(:network_config).new(name: 'yay', family: :inet6, ipaddress: address4) }.to raise_error(%r{not a valid ipv6 address})
expected Exception with message matching /not a valid ipv6 address/ but nothing was raised
|
This job succeeded
Loading