Project

General

Profile

Actions

Bug #4347

closed

undefined method [] for nil:NilClass during validations on Puppet 3.5/master

Added by Dominic Cleal almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Next one!

foreman-installer-1.5.0-0.develop.201402140444git310dffb.el6.noarch
rubygem-kafo-0.3.13-1.el6.noarch
puppet-3.4.2.876-1.el6.noarch (3.5/master)

# (in test file /vagrant/fb-install-foreman.bats, line 114)
# [ INFO 2014-02-14 13:37:32 verbose] Running validation checks
# /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:230:in `merged_functions': undefined method `[]' for nil:NilClass (NoMethodError)
#     from /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:235:in `get_function'
#     from /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:120:in `newfunction'
#     from /usr/share/foreman-installer/modules/stdlib/lib/puppet/parser/functions/validate_slength.rb:3
#     from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
#     from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/validator.rb:11:in `initialize'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/validator.rb:10:in `each'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/validator.rb:10:in `initialize'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/param.rb:70:in `new'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/param.rb:70:in `valid?'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:281:in `validate_all'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:280:in `map'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:280:in `validate_all'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:79:in `execute'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:61:in `catch'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:61:in `execute'
#     from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
#     from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:98:in `run'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:97:in `catch'
#     from /usr/lib/ruby/gems/1.8/gems/kafo-0.3.13/lib/kafo/kafo_configure.rb:97:in `run'
#     from /usr/sbin/foreman-installer:54

Related issues 1 (0 open1 closed)

Blocks Installer - Tracker #4359: Puppet 3.5.0 supportClosedDominic Cleal02/17/201402/28/2014

Actions
Actions

Also available in: Atom PDF