modulesync 7.3.0 & puppet-lint adjustments #24
Annotations
2 errors
Run tests:
spec/classes/init_spec.rb#L376
monit failures when osfamily is unsupported fails
Failure/Error:
expect do
is_expected.to contain_class('monit')
end.to raise_error(Puppet::Error, %r{monit supports osfamilies Debian and RedHat\. Detected osfamily is <Unsupported>\.})
expected Puppet::Error with message matching /monit supports osfamilies Debian and RedHat\. Detected osfamily is <Unsupported>\./, got #<Puppet::PreformattedError: Evaluation Error: Operator '[]' is not applicable to an Undef Value. (fi...pp, line: 57, column: 82) on node fv-az1153-808.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> with backtrace:
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/runtime3_support.rb:39:in `optionally_fail'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/runtime3_support.rb:21:in `fail'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/access_operator.rb:35:in `access_Object'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:49:in `block in visit_this'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:43:in `each'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:43:in `visit_this'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:107:in `visit_this_2'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/access_operator.rb:24:in `access'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:523:in `eval_AccessExpression'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:94:in `visit_this_1'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:1118:in `eval_TextExpression'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:94:in `visit_this_1'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:1100:in `block in eval_ConcatenatedString'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:1100:in `collect'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:1100:in `eval_ConcatenatedString'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:94:in `visit_this_1'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:1303:in `block in unfold'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:1298:in `each'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:1298:in `unfold'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:964:in `eval_CallNamedFunctionExpression'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:94:in `visit_this_1'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:679:in `block in eval_BlockExpression'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:679:in `each'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:679:in `reduce'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluator/evaluator_impl.rb:679:in `eval_BlockExpression'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/visitor.rb:94:in `visit_this_1'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.28.0/lib/puppet/pops/evaluato
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading