Skip to content

Add get_ip_in_cidr function, extracted from puppet-k8s #196

Add get_ip_in_cidr function, extracted from puppet-k8s

Add get_ip_in_cidr function, extracted from puppet-k8s #196

Triggered via pull request October 22, 2025 08:09
Status Failure
Total duration 51s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
25s
Puppet / Static validations
Matrix: Puppet / unit
Puppet  /  Test suite
4s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Puppet / Static validations
Process completed with exit code 1.
Puppet / Static validations: spec/functions/extlib/get_ip_in_cidr_spec.rb#L6
RSpec/BeEq: Prefer `be` over `eq`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEq)
Puppet / Static validations: lib/puppet/functions/extlib/get_ip_in_cidr.rb#L46
Layout/TrailingEmptyLines: 1 trailing blank lines detected. (https://rubystyle.guide#newline-eof)
Puppet / Static validations: lib/puppet/functions/extlib/get_ip_in_cidr.rb#L40
Style/NumericPredicate: Use `index.negative?` instead of `index < 0`. (https://rubystyle.guide#predicate-methods)
Puppet / Test suite
Process completed with exit code 1.