Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7490

puppet / puppet module build fails with ruby null error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PUP 4.9.3, PUP 4.9.4, PUP 4.10.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
      ruby 2.4.0
      ruby 2.3.3
      macOS 10.12.4 (16E195)

    • QA Risk Assessment:
      Needs Assessment

      Description

      Module source: https://github.com/sammcj/puppet-luks

      puppet module build --help
      /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util/monkey_patches.rb:104:in `<class:SSLContext>': undefined method `<<' for nil:NilClass (NoMethodError)
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util/monkey_patches.rb:98:in `<top (required)>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util.rb:17:in `require'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util.rb:17:in `<module:Util>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util.rb:16:in `<module:Puppet>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util.rb:15:in `<top (required)>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet.rb:14:in `require'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet.rb:14:in `<top (required)>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util/command_line.rb:12:in `require'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util/command_line.rb:12:in `<top (required)>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/bin/puppet:4:in `require'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/bin/puppet:4:in `<top (required)>'
      	from /usr/local/bin/puppet:23:in `load'
      	from /usr/local/bin/puppet:23:in `<main>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
      

      puppet --version
      /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util/monkey_patches.rb:104:in `<class:SSLContext>': undefined method `<<' for nil:NilClass (NoMethodError)
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util/monkey_patches.rb:98:in `<top (required)>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util.rb:17:in `require'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util.rb:17:in `<module:Util>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util.rb:16:in `<module:Puppet>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util.rb:15:in `<top (required)>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet.rb:14:in `require'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet.rb:14:in `<top (required)>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util/command_line.rb:12:in `require'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/lib/puppet/util/command_line.rb:12:in `<top (required)>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/bin/puppet:4:in `require'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/gems/puppet-4.10.0/bin/puppet:4:in `<top (required)>'
      	from /usr/local/bin/puppet:23:in `load'
      	from /usr/local/bin/puppet:23:in `<main>'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
      	from /Users/samm/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
      

      gem list
       
      *** LOCAL GEMS ***
       
      ast (2.3.0)
      bigdecimal (default: 1.3.0)
      bundler (1.14.6)
      bundler-unload (1.0.2)
      CFPropertyList (2.2.8)
      did_you_mean (1.1.0)
      diff-lcs (1.3)
      executable-hooks (1.3.2)
      facter (2.4.6 ruby universal-darwin)
      fast_gettext (1.1.0)
      gem-wrappers (1.2.7)
      gettext (3.2.2)
      gettext-setup (0.24)
      hiera (3.3.1)
      io-console (default: 0.4.6)
      json (2.1.0, default: 2.0.2)
      json_pure (1.8.6)
      locale (2.1.2)
      metaclass (0.0.4)
      metadata-json-lint (1.1.0)
      minitest (5.10.1)
      mocha (1.2.1)
      net-telnet (0.1.1)
      openssl (default: 2.0.3)
      parser (2.4.0.0)
      power_assert (0.4.1)
      powerpack (0.1.1)
      psych (default: 2.2.2)
      puppet (4.10.0 ruby universal-darwin)
      puppet-lint (2.2.1)
      puppet-syntax (2.4.0)
      puppetlabs_spec_helper (2.1.2)
      rainbow (2.2.2)
      rake (12.0.0)
      rdoc (default: 5.0.0)
      rspec (3.5.0)
      rspec-core (3.5.4)
      rspec-expectations (3.5.0)
      rspec-mocks (3.5.0)
      rspec-puppet (2.5.0)
      rspec-support (3.5.0)
      rubocop (0.48.1)
      ruby-progressbar (1.8.1)
      rubygems-bundler (1.4.4)
      rvm (1.11.3.9)
      semantic_puppet (1.0.0)
      spdx-licenses (1.1.0)
      test-unit (3.2.3)
      text (1.3.1)
      unicode-display_width (1.2.1)
      xmlrpc (0.3.0, 0.2.1)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sammcj Sam McLeod
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support